Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #529 from cds-snc/feature/onboarding-transition
Browse files Browse the repository at this point in the history
Added fade transition to the end of onboarding
  • Loading branch information
smcmurtry authored Jul 8, 2020
2 parents 68b4b37 + 37500ac commit 980e686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/navigation/MainNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const MainNavigator = () => {
const {isOnboarding} = useStorage();
return (
<MainStack.Navigator
screenOptions={{stackPresentation: 'modal', headerShown: false}}
screenOptions={{stackAnimation: 'fade', stackPresentation: 'modal', headerShown: false}}
initialRouteName={isOnboarding ? 'OnboardingNavigator' : 'Home'}
>
<MainStack.Screen name="Home" component={HomeScreenWithNavBar} />
Expand Down

0 comments on commit 980e686

Please sign in to comment.