about summary refs log tree commit diff
path: root/src/view/shell/Drawer.tsx
diff options
context:
space:
mode:
authorJaz <ericvolp12@gmail.com>2023-05-17 21:19:20 -0700
committerGitHub <noreply@github.com>2023-05-17 21:19:20 -0700
commit7f76c2d67e62ba2d10e8b17673a7bbcf7248564f (patch)
treeece7f72b04ee4bb39d4118b0b520683deddaa972 /src/view/shell/Drawer.tsx
parentac3a95dc7228ad3d1d1cb7c5e7e26968009173bb (diff)
parent0ca096138a690f036828c49f9e95cf394b1a4339 (diff)
downloadvoidsky-7f76c2d67e62ba2d10e8b17673a7bbcf7248564f.tar.zst
Merge branch 'main' into inherit_system_theme
Diffstat (limited to 'src/view/shell/Drawer.tsx')
-rw-r--r--src/view/shell/Drawer.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/view/shell/Drawer.tsx b/src/view/shell/Drawer.tsx
index 680b60ba1..79c713e2d 100644
--- a/src/view/shell/Drawer.tsx
+++ b/src/view/shell/Drawer.tsx
@@ -215,7 +215,11 @@ export const DrawerContent = observer(() => {
             }
             label="Notifications"
             accessibilityLabel="Notifications"
-            accessibilityHint={`${store.me.notifications.unreadCountLabel} unread`}
+            accessibilityHint={
+              notifications.unreadCountLabel === ''
+                ? ''
+                : `${notifications.unreadCountLabel} unread`
+            }
             count={notifications.unreadCountLabel}
             bold={isAtNotifications}
             onPress={onPressNotifications}