Fixed ios warnings

This commit is contained in:
Arnaud Vergnet 2020-04-23 11:23:38 +02:00
parent f617dba1e6
commit b7e1d56ff6
2 changed files with 2 additions and 2 deletions

1
App.js
View file

@ -121,6 +121,7 @@ export default class App extends React.Component<Props, State> {
} else { } else {
StatusBar.setBarStyle('dark-content', true); StatusBar.setBarStyle('dark-content', true);
} }
if (Platform.OS === "android")
StatusBar.setBackgroundColor(ThemeManager.getCurrentTheme().colors.surface, true); StatusBar.setBackgroundColor(ThemeManager.getCurrentTheme().colors.surface, true);
} }

View file

@ -74,7 +74,6 @@ class TabIcon extends React.Component<Props> {
style={{ style={{
flex: 1, flex: 1,
justifyContent: 'center', justifyContent: 'center',
alignItem: 'center',
}} }}
> >
<View> <View>