Update hint for notifications
This commit is contained in:
parent
562faa76cc
commit
f7f0db65d3
2 changed files with 12 additions and 3 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue