fix white screen
This commit is contained in:
@@ -308,14 +308,15 @@ export default function Main() {
|
||||
return (
|
||||
<MainStack.Navigator
|
||||
initialRouteName={Routes.Splash}
|
||||
screenOptions={[
|
||||
{
|
||||
contentStyle: {
|
||||
backgroundColor: Palette.white,
|
||||
},
|
||||
screenOptions={{
|
||||
...screenOptions,
|
||||
contentStyle: {
|
||||
backgroundColor: Palette.black,
|
||||
},
|
||||
screenOptions,
|
||||
]}
|
||||
cardStyle: {
|
||||
backgroundColor: Palette.black,
|
||||
},
|
||||
}}
|
||||
>
|
||||
{screens.map((screen) => (
|
||||
<MainStack.Screen
|
||||
|
||||
Reference in New Issue
Block a user