This commit is contained in:
Zhiyuan Zheng 2022-06-15 00:00:33 +02:00
parent 7c0bcbeb06
commit df80135226
1 changed files with 3 additions and 2 deletions

View File

@ -271,8 +271,9 @@ const Screens: React.FC<Props> = ({ localCorrupt }) => {
return (
<IntlProvider locale={i18n.language}>
<StatusBar
{...(Platform.OS === 'ios' && {
backgroundColor: colors.backgroundDefault
backgroundColor={colors.backgroundDefault}
{...(Platform.OS === 'android' && {
barStyle: theme === 'light' ? 'dark-content' : 'light-content'
})}
/>
<NavigationContainer