mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-20 10:12:01 +01:00
Merge pull request #4204 from BlueWallet/modaldesk
FIX: Use containedModal on macOS to unblock prompt UI
This commit is contained in:
commit
90fe70985e
@ -321,7 +321,7 @@ const AztecoRedeemRoot = () => {
|
||||
|
||||
const ScanQRCodeStack = createNativeStackNavigator();
|
||||
const ScanQRCodeRoot = () => (
|
||||
<ScanQRCodeStack.Navigator screenOptions={{ headerShown: false, stackPresentation: 'fullScreenModal' }}>
|
||||
<ScanQRCodeStack.Navigator screenOptions={{ headerShown: false, stackPresentation: isDesktop ? 'containedModal' : 'fullScreenModal' }}>
|
||||
<RootStack.Screen name="ScanQRCode" component={ScanQRCode} />
|
||||
</ScanQRCodeStack.Navigator>
|
||||
);
|
||||
@ -436,7 +436,7 @@ const InitRoot = () => (
|
||||
<InitStack.Screen
|
||||
name="ReorderWallets"
|
||||
component={ReorderWalletsStackRoot}
|
||||
options={{ headerShown: false, gestureEnabled: false, stackPresentation: 'fullScreenModal' }}
|
||||
options={{ headerShown: false, gestureEnabled: false, stackPresentation: isDesktop ? 'containedModal' : 'fullScreenModal' }}
|
||||
/>
|
||||
<InitStack.Screen
|
||||
name={isHandset ? 'Navigation' : 'DrawerRoot'}
|
||||
|
Loading…
Reference in New Issue
Block a user