Fixed ios warnings

这个提交包含在:
Arnaud Vergnet 2020-04-23 11:23:38 +02:00
父节点 f617dba1e6
当前提交 b7e1d56ff6
共有 2 个文件被更改,包括 2 次插入2 次删除

3
App.js
查看文件

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

查看文件

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