Update to empty hint if no notifications

zio/stable
renahlee 2023-05-17 09:13:06 -07:00
parent f7f0db65d3
commit d6ca8e918a
2 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@ export const DrawerContent = observer(() => {
accessibilityLabel="Notifications"
accessibilityHint={
notifications.unreadCountLabel === ''
? 'No new notifications'
? ''
: `${notifications.unreadCountLabel} unread`
}
count={notifications.unreadCountLabel}

View File

@ -145,7 +145,7 @@ export const BottomBar = observer(({navigation}: BottomTabBarProps) => {
accessibilityLabel="Notifications"
accessibilityHint={
notifications.unreadCountLabel === ''
? 'No new notifications'
? ''
: `${notifications.unreadCountLabel} unread`
}
/>