Skip to content

Commit

Permalink
fix: Fix android statusbar translucency (#374)
Browse files Browse the repository at this point in the history
* feat: Expand share dialog on iOS (#250)

* update codestyle

* #321 - Fix android statusbar translucency

* Update barStyle
  • Loading branch information
DragonSpirit authored and amaury1093 committed Dec 29, 2019
1 parent de3aadf commit 79f3345
Showing 1 changed file with 7 additions and 2 deletions.
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://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 barStyle="dark-content" />
{stack}
</View>
);
}

0 comments on commit 79f3345

Please sign in to comment.