diff --git a/src/view/shell/BottomBar.tsx b/src/view/shell/BottomBar.tsx index 8db151c5a3..c59d8c6758 100644 --- a/src/view/shell/BottomBar.tsx +++ b/src/view/shell/BottomBar.tsx @@ -26,7 +26,6 @@ import { } from 'lib/icons' import {colors} from 'lib/styles' import {usePalette} from 'lib/hooks/usePalette' -import {useColorSchemeStyle} from 'lib/hooks/useColorSchemeStyle' import {getTabState, TabState} from 'lib/routes/helpers' export const BottomBar = observer(({navigation}: BottomTabBarProps) => { @@ -187,10 +186,6 @@ function Btn({ onPress?: (event: GestureResponderEvent) => void onLongPress?: (event: GestureResponderEvent) => void }) { - const borderStyle = useColorSchemeStyle( - styles.notificationCountLight, - styles.notificationCountDark, - ) return ( {notificationCount ? ( - + {notificationCount} ) : undefined} @@ -231,7 +226,6 @@ const styles = StyleSheet.create({ paddingHorizontal: 4, paddingBottom: 1, borderRadius: 6, - borderWidth: 2, zIndex: 1, }, notificationCountLight: { @@ -244,6 +238,7 @@ const styles = StyleSheet.create({ fontSize: 12, fontWeight: 'bold', color: colors.white, + fontVariant: ['tabular-nums'], }, ctrlIcon: { marginLeft: 'auto', diff --git a/src/view/shell/Drawer.tsx b/src/view/shell/Drawer.tsx index a10fe48996..a33cf8c4ed 100644 --- a/src/view/shell/Drawer.tsx +++ b/src/view/shell/Drawer.tsx @@ -134,9 +134,6 @@ export const DrawerContent = observer(() => { 99 ? styles.menuItemCountHundreds : count > 9 @@ -358,25 +355,19 @@ const styles = StyleSheet.create({ menuItemCount: { position: 'absolute', width: 'auto', - right: -8, - top: -8, + right: -6, + top: -4, backgroundColor: colors.blue3, - borderWidth: 2, paddingHorizontal: 4, paddingBottom: 1, borderRadius: 6, }, - menuItemCountLight: { - borderColor: colors.white, - }, - menuItemCountDark: { - borderColor: '#1B1919', - }, menuItemCountTens: { - width: 29, + width: 25, }, menuItemCountHundreds: { - width: 38, + right: -12, + width: 34, }, menuItemCountLabel: { fontSize: 12,