Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions app/components/Nav/App/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,14 @@ const OnboardingSuccessFlow = () => {
const { colors } = useTheme();

return (
<Stack.Navigator initialRouteName={Routes.ONBOARDING.SUCCESS}>
<Stack.Navigator
initialRouteName={Routes.ONBOARDING.SUCCESS}
screenOptions={{
cardStyle: { backgroundColor: colors.background.default },
headerStyle: { backgroundColor: colors.background.default },
headerShadowVisible: false,
}}
>
<Stack.Screen
name={Routes.ONBOARDING.SUCCESS}
component={OnboardingSuccess}
Expand All @@ -192,10 +199,6 @@ const OnboardingSuccessFlow = () => {
<Stack.Screen
name={Routes.ONBOARDING.DEFAULT_SETTINGS}
component={DefaultSettings}
options={{
headerStyle: { backgroundColor: colors.background.default },
cardStyle: { backgroundColor: colors.background.default },
}}
/>
<Stack.Screen
name={Routes.ONBOARDING.GENERAL_SETTINGS}
Expand All @@ -221,7 +224,12 @@ const OnboardingNav = () => {
const { colors } = useTheme();

return (
<Stack.Navigator initialRouteName={'Onboarding'}>
<Stack.Navigator
initialRouteName={'Onboarding'}
screenOptions={{
cardStyle: { backgroundColor: colors.background.default },
}}
>
<Stack.Screen name="Onboarding" component={Onboarding} />
<Stack.Screen
name={Routes.ONBOARDING.SOCIAL_LOGIN_SUCCESS_NEW_USER}
Expand Down Expand Up @@ -253,7 +261,6 @@ const OnboardingNav = () => {
component={DefaultSettings}
options={{
headerStyle: { backgroundColor: colors.background.default },
cardStyle: { backgroundColor: colors.background.default },
}}
/>
<Stack.Screen name="ManualBackupStep1" component={ManualBackupStep1} />
Expand Down
Loading