From d82b96e66aaf0456b17ffe66e1a36977c2c56324 Mon Sep 17 00:00:00 2001 From: Adam Grzybowski Date: Mon, 2 Dec 2024 13:50:08 +0100 Subject: [PATCH] fix transparency for basic modal navigators --- src/libs/Navigation/AppNavigator/AuthScreens.tsx | 8 ++++---- .../Navigation/AppNavigator/useRootNavigatorOptions.ts | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/libs/Navigation/AppNavigator/AuthScreens.tsx b/src/libs/Navigation/AppNavigator/AuthScreens.tsx index 1c3f38cc12f1..21851ee96599 100644 --- a/src/libs/Navigation/AppNavigator/AuthScreens.tsx +++ b/src/libs/Navigation/AppNavigator/AuthScreens.tsx @@ -519,24 +519,24 @@ function AuthScreens({session, lastOpenedPublicRoomID, initialLastUpdateIDApplie /> {isOnboardingCompleted === false && ( { diff --git a/src/libs/Navigation/AppNavigator/useRootNavigatorOptions.ts b/src/libs/Navigation/AppNavigator/useRootNavigatorOptions.ts index de7971213526..27b1c6d2fae1 100644 --- a/src/libs/Navigation/AppNavigator/useRootNavigatorOptions.ts +++ b/src/libs/Navigation/AppNavigator/useRootNavigatorOptions.ts @@ -12,7 +12,7 @@ import useModalCardStyleInterpolator from './useModalCardStyleInterpolator'; type RootNavigatorOptions = { rightModalNavigator: PlatformStackNavigationOptions; - onboardingModalNavigator: PlatformStackNavigationOptions; + basicModalNavigator: PlatformStackNavigationOptions; leftModalNavigator: PlatformStackNavigationOptions; homeScreen: PlatformStackNavigationOptions; fullScreen: PlatformStackNavigationOptions; @@ -51,9 +51,9 @@ const useRootNavigatorOptions = () => { cardStyleInterpolator: (props: StackCardInterpolationProps) => modalCardStyleInterpolator({props}), }, }, - onboardingModalNavigator: { + basicModalNavigator: { + presentation: Presentation.TRANSPARENT_MODAL, web: { - presentation: Presentation.TRANSPARENT_MODAL, cardOverlayEnabled: false, cardStyle: { ...StyleUtils.getNavigationModalCardStyle(),