Update Screens.tsx

https://github.com/tooot-app/app/issues/298
This commit is contained in:
Zhiyuan Zheng 2022-05-18 00:11:02 +02:00
parent 8a1ccdb305
commit 051dc7be8c
1 changed files with 5 additions and 1 deletions

View File

@ -322,7 +322,11 @@ const Screens: React.FC<Props> = ({ localCorrupt }) => {
return (
<IntlProvider locale={i18n.language}>
<StatusBar backgroundColor={colors.backgroundDefault} />
<StatusBar
{...(Platform.OS === 'ios' && {
backgroundColor: colors.backgroundDefault
})}
/>
<NavigationContainer
ref={navigationRef}
theme={themes[theme]}