Update to empty hint if no notifications

This commit is contained in:
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" accessibilityLabel="Notifications"
accessibilityHint={ accessibilityHint={
notifications.unreadCountLabel === '' notifications.unreadCountLabel === ''
? 'No new notifications' ? ''
: `${notifications.unreadCountLabel} unread` : `${notifications.unreadCountLabel} unread`
} }
count={notifications.unreadCountLabel} count={notifications.unreadCountLabel}

View file

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