From d6ca8e918af213959791bec3e9daf976c65c1be1 Mon Sep 17 00:00:00 2001 From: renahlee Date: Wed, 17 May 2023 09:13:06 -0700 Subject: [PATCH] Update to empty hint if no notifications --- src/view/shell/Drawer.tsx | 2 +- src/view/shell/bottom-bar/BottomBar.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/view/shell/Drawer.tsx b/src/view/shell/Drawer.tsx index 89e30002ee..2ecdbaab29 100644 --- a/src/view/shell/Drawer.tsx +++ b/src/view/shell/Drawer.tsx @@ -224,7 +224,7 @@ export const DrawerContent = observer(() => { accessibilityLabel="Notifications" accessibilityHint={ notifications.unreadCountLabel === '' - ? 'No new notifications' + ? '' : `${notifications.unreadCountLabel} unread` } count={notifications.unreadCountLabel} diff --git a/src/view/shell/bottom-bar/BottomBar.tsx b/src/view/shell/bottom-bar/BottomBar.tsx index b057964c6f..ef9499f9fc 100644 --- a/src/view/shell/bottom-bar/BottomBar.tsx +++ b/src/view/shell/bottom-bar/BottomBar.tsx @@ -145,7 +145,7 @@ export const BottomBar = observer(({navigation}: BottomTabBarProps) => { accessibilityLabel="Notifications" accessibilityHint={ notifications.unreadCountLabel === '' - ? 'No new notifications' + ? '' : `${notifications.unreadCountLabel} unread` } />