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

3
App.js
View file

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

View file

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