Skip to content

Commit

Permalink
Merge pull request #41765 from rezkiy37/fix/40555-ios-dismiss-onboarding
Browse files Browse the repository at this point in the history
Fix dismissing Onboarding on iOS
  • Loading branch information
luacmartins authored May 10, 2024
2 parents f894f89 + 4d8e326 commit 7535c89
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import type {ThemeStyles} from '@styles/index';
import type {StyleUtilsType} from '@styles/utils';

function getOnboardingModalScreenOptions(isSmallScreenWidth: boolean, styles: ThemeStyles, StyleUtils: StyleUtilsType) {
return getRootNavigatorScreenOptions(isSmallScreenWidth, styles, StyleUtils).fullScreen;
return {
...getRootNavigatorScreenOptions(isSmallScreenWidth, styles, StyleUtils).fullScreen,
gestureEnabled: false,
};
}

export default getOnboardingModalScreenOptions;

0 comments on commit 7535c89

Please sign in to comment.