Skip to content

Commit

Permalink
fix ledger image blocking text (#6187)
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-schrammel authored Oct 10, 2024
1 parent 3ac1661 commit f2c80ec
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/navigation/PairHardwareWalletNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,17 @@ export function PairHardwareWalletNavigator() {
<BackgroundProvider color="surfaceSecondary">
{({ backgroundColor }) => (
<SimpleSheet backgroundColor={backgroundColor as string} onDismiss={onDismiss} scrollEnabled={false}>
{(currentRouteName === Routes.PAIR_HARDWARE_WALLET_INTRO_SHEET ||
currentRouteName === Routes.PAIR_HARDWARE_WALLET_SEARCH_SHEET) && (
<NanoXDeviceAnimation
state={currentRouteName === Routes.PAIR_HARDWARE_WALLET_SEARCH_SHEET ? 'loading' : 'idle'}
isConnected={deviceId !== ''}
/>
)}
<Swipe.Navigator
initialLayout={{ height, width }}
initialRouteName={currentRouteName}
sceneContainerStyle={{ backgroundColor }}
sceneContainerStyle={{ backgroundColor: 'transparent' }}
screenOptions={{ swipeEnabled: false, lazy: true }}
tabBar={() => null}
>
Expand Down Expand Up @@ -92,13 +99,6 @@ export function PairHardwareWalletNavigator() {
}}
/>
</Swipe.Navigator>
{(currentRouteName === Routes.PAIR_HARDWARE_WALLET_INTRO_SHEET ||
currentRouteName === Routes.PAIR_HARDWARE_WALLET_SEARCH_SHEET) && (
<NanoXDeviceAnimation
state={currentRouteName === Routes.PAIR_HARDWARE_WALLET_SEARCH_SHEET ? 'loading' : 'idle'}
isConnected={deviceId !== ''}
/>
)}
</SimpleSheet>
)}
</BackgroundProvider>
Expand Down

0 comments on commit f2c80ec

Please sign in to comment.