diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-11-22 12:02:45 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-11-22 12:02:45 -0600 |
commit | 79688cd0424c7cd3bc7cf4ed458cc0dcad542fb1 (patch) | |
tree | 17782f9c786c2427dcaf603f199c1f354962c828 /src/view/shell/mobile/index.tsx | |
parent | c2a39d7c1f59ddc0625b49d423c15799b5eba61b (diff) | |
download | voidsky-79688cd0424c7cd3bc7cf4ed458cc0dcad542fb1.tar.zst |
Shrink the footer a bit
Diffstat (limited to 'src/view/shell/mobile/index.tsx')
-rw-r--r-- | src/view/shell/mobile/index.tsx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/view/shell/mobile/index.tsx b/src/view/shell/mobile/index.tsx index 4c85d3b1a..9e2d92076 100644 --- a/src/view/shell/mobile/index.tsx +++ b/src/view/shell/mobile/index.tsx @@ -308,7 +308,11 @@ export const MobileShell: React.FC = observer(() => { tabMenuInterp={tabMenuInterp} onClose={() => toggleTabsMenu(false)} /> - <SafeAreaView style={styles.bottomBar}> + <View + style={[ + styles.bottomBar, + {paddingBottom: clamp(safeAreaInsets.bottom, 15, 30)}, + ]}> <Btn icon={isAtHome ? 'home-solid' : 'home'} onPress={onPressHome} @@ -331,7 +335,7 @@ export const MobileShell: React.FC = observer(() => { icon={isMainMenuActive ? 'menu-solid' : 'menu'} onPress={onPressMenu} /> - </SafeAreaView> + </View> <MainMenu active={isMainMenuActive} onClose={() => setMainMenuActive(false)} @@ -483,11 +487,11 @@ const styles = StyleSheet.create({ ctrl: { flex: 1, paddingTop: 15, - paddingBottom: 15, + paddingBottom: 5, }, notificationCount: { position: 'absolute', - left: 46, + left: '60%', top: 10, backgroundColor: colors.red3, paddingHorizontal: 4, |