diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-03-15 16:39:45 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-03-15 16:39:45 -0500 |
commit | 4f20a17b6ebd558fc26437d37f427753b880e856 (patch) | |
tree | 390e615bce2ea6d56d629eae74db8346edbe77e8 /src/view/shell/Drawer.tsx | |
parent | 474b4b7840ce1ee625f19ff02f15ca12b3879c55 (diff) | |
download | voidsky-4f20a17b6ebd558fc26437d37f427753b880e856.tar.zst |
Tune up notification badge rendering
Diffstat (limited to 'src/view/shell/Drawer.tsx')
-rw-r--r-- | src/view/shell/Drawer.tsx | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/src/view/shell/Drawer.tsx b/src/view/shell/Drawer.tsx index a10fe4899..a33cf8c4e 100644 --- a/src/view/shell/Drawer.tsx +++ b/src/view/shell/Drawer.tsx @@ -134,9 +134,6 @@ export const DrawerContent = observer(() => { <View style={[ styles.menuItemCount, - theme.colorScheme === 'light' - ? styles.menuItemCountLight - : styles.menuItemCountDark, count > 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, |