Update to empty hint if no notifications
This commit is contained in:
@@ -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`
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user