Update to empty hint if no notifications
This commit is contained in:
parent
f7f0db65d3
commit
d6ca8e918a
2 changed files with 2 additions and 2 deletions
|
@ -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}
|
||||||
|
|
|
@ -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`
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue