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 {
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={{
flex: 1,
justifyContent: 'center',
alignItem: 'center',
}}
>
<View>