about summary refs log tree commit diff
path: root/src/view/shell/Drawer.tsx
diff options
context:
space:
mode:
authorrenahlee <renahlee@outlook.com>2023-05-16 22:31:59 -0700
committerrenahlee <renahlee@outlook.com>2023-05-17 09:12:09 -0700
commitf7f0db65d36506d1e32c3d349e4505136180afb0 (patch)
treecead555a42e7731795beb5191473be0e49f18e54 /src/view/shell/Drawer.tsx
parent562faa76cce6e935295f30359cbd7180b912cec1 (diff)
downloadvoidsky-f7f0db65d36506d1e32c3d349e4505136180afb0.tar.zst
Update hint for notifications
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 d595bc524..89e30002e 100644
--- a/src/view/shell/Drawer.tsx
+++ b/src/view/shell/Drawer.tsx
@@ -222,7 +222,11 @@ export const DrawerContent = observer(() => {
             }
             label="Notifications"
             accessibilityLabel="Notifications"
-            accessibilityHint={`${store.me.notifications.unreadCountLabel} unread`}
+            accessibilityHint={
+              notifications.unreadCountLabel === ''
+                ? 'No new notifications'
+                : `${notifications.unreadCountLabel} unread`
+            }
             count={notifications.unreadCountLabel}
             bold={isAtNotifications}
             onPress={onPressNotifications}