Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix android statusbar translucency #374

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
#321 - Fix android statusbar translucency
  • Loading branch information
DragonSpirit committed Dec 21, 2019
commit dd2afa923f2b12546396520596f0da86ffd34638
9 changes: 7 additions & 2 deletions App/Screens/Screens.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// along with Sh**t! I Smoke. If not, see <http:https://www.gnu.org/licenses/>.

import React, { useContext } from 'react';
import { View } from 'react-native';
import { StatusBar, View } from 'react-native';
import {
createAppContainer,
CreateNavigatorConfig,
Expand Down Expand Up @@ -139,5 +139,10 @@ export function Screens(): React.ReactElement {

const stack = renderScreen(api, error);

return <View style={theme.fullScreen}>{stack}</View>;
return (
<View style={theme.fullScreen}>
<StatusBar translucent={false} />
DragonSpirit marked this conversation as resolved.
Show resolved Hide resolved
{stack}
</View>
);
}