diff --git a/src/view/shell/bottom-bar/BottomBar.tsx b/src/view/shell/bottom-bar/BottomBar.tsx --- a/src/view/shell/bottom-bar/BottomBar.tsx +++ b/src/view/shell/bottom-bar/BottomBar.tsx @@ -400,10 +400,16 @@ a.rounded_full, {backgroundColor: t.palette.primary_500}, ]}> - {notificationCount} + + {notificationCount} + ) : hasNew ? ( - + ) : null} ) diff --git a/src/view/shell/bottom-bar/BottomBarStyles.tsx b/src/view/shell/bottom-bar/BottomBarStyles.tsx --- a/src/view/shell/bottom-bar/BottomBarStyles.tsx +++ b/src/view/shell/bottom-bar/BottomBarStyles.tsx @@ -1,6 +1,5 @@ import {StyleSheet} from 'react-native' -import {colors} from '#/lib/styles' import {atoms as a} from '#/alf' export const styles = StyleSheet.create({ @@ -24,8 +23,9 @@ position: 'absolute', left: '52%', top: 8, - paddingHorizontal: 4, - paddingBottom: 1, + paddingHorizontal: 5, + paddingTop: 1, + paddingBottom: 2, borderRadius: 6, zIndex: 1, }, @@ -37,8 +37,9 @@ notificationCountLabel: { fontSize: 12, fontWeight: '600', - color: colors.white, + color: 'white', fontVariant: ['tabular-nums'], + includeFontPadding: false, }, hasNewBadge: { position: 'absolute', @@ -47,8 +48,7 @@ top: 10, width: 8, height: 8, - backgroundColor: colors.blue3, - borderRadius: 6, + borderRadius: 4, zIndex: 1, }, ctrlIcon: { diff --git a/src/view/shell/bottom-bar/BottomBarWeb.tsx b/src/view/shell/bottom-bar/BottomBarWeb.tsx --- a/src/view/shell/bottom-bar/BottomBarWeb.tsx +++ b/src/view/shell/bottom-bar/BottomBarWeb.tsx @@ -313,7 +313,9 @@ {notificationCount} ) : hasNew ? ( - + ) : null} )