about summary refs log tree commit diff
path: root/src/view/shell/bottom-bar
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2024-04-12 10:21:55 -0700
committerGitHub <noreply@github.com>2024-04-12 10:21:55 -0700
commit14208eef11b1598af7b9bfc855e608c231850d4d (patch)
tree18204cdaa14a4abee7963391fbe6e2ef7f996c0c /src/view/shell/bottom-bar
parenteb2fd53340005316af007afc8af899ba11929098 (diff)
downloadvoidsky-14208eef11b1598af7b9bfc855e608c231850d4d.tar.zst
Fix: dont let notifications count go behind the icon (#3505)
Diffstat (limited to 'src/view/shell/bottom-bar')
-rw-r--r--src/view/shell/bottom-bar/BottomBar.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/shell/bottom-bar/BottomBar.tsx b/src/view/shell/bottom-bar/BottomBar.tsx
index c35fa106d..4caff6c4d 100644
--- a/src/view/shell/bottom-bar/BottomBar.tsx
+++ b/src/view/shell/bottom-bar/BottomBar.tsx
@@ -348,12 +348,12 @@ function Btn({
       accessible={accessible}
       accessibilityLabel={accessibilityLabel}
       accessibilityHint={accessibilityHint}>
+      {icon}
       {notificationCount ? (
         <View style={[styles.notificationCount]}>
           <Text style={styles.notificationCountLabel}>{notificationCount}</Text>
         </View>
       ) : undefined}
-      {icon}
     </TouchableOpacity>
   )
 }