From a7a0031d713390acfd40c6d7df7ed251aad4cd68 Mon Sep 17 00:00:00 2001 From: KKA11010 Date: Thu, 8 Feb 2024 16:42:22 +0100 Subject: [PATCH] fix nav position in nostr screen --- src/components/nav/BottomNav.tsx | 104 +++++++++++++++---------------- 1 file changed, 51 insertions(+), 53 deletions(-) diff --git a/src/components/nav/BottomNav.tsx b/src/components/nav/BottomNav.tsx index 20276b99..c421b3a7 100644 --- a/src/components/nav/BottomNav.tsx +++ b/src/components/nav/BottomNav.tsx @@ -9,7 +9,7 @@ import { STORE_KEYS } from '@store/consts' import { highlight as hi } from '@styles' import { isStr } from '@util' import { useTranslation } from 'react-i18next' -import { SafeAreaView, TouchableOpacity, View } from 'react-native' +import { TouchableOpacity, View } from 'react-native' import { s, ScaledSheet, vs } from 'react-native-size-matters' export default function BottomNav({ navigation, route }: TBottomNavProps) { @@ -37,58 +37,56 @@ export default function BottomNav({ navigation, route }: TBottomNavProps) { route.name === 'Contacts settings' return ( - - - void handleNav('dashboard')} - disabled={isWalletRelatedScreen} - > - - - - void handleNav('Address book')} - disabled={route.name === 'Address book'} - > - - - - void handleNav('Settings')} - disabled={isSettingsRelatedScreen} - > - - - - - + + void handleNav('dashboard')} + disabled={isWalletRelatedScreen} + > + + + + void handleNav('Address book')} + disabled={route.name === 'Address book'} + > + + + + void handleNav('Settings')} + disabled={isSettingsRelatedScreen} + > + + + + ) }