1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Minor fixes according to DeepScan

This commit is contained in:
Zhiyuan Zheng
2021-03-09 01:17:07 +01:00
parent f127fc3a1a
commit e1e4aace78
9 changed files with 17 additions and 26 deletions

View File

@ -47,7 +47,10 @@ const App: React.FC = () => {
})
return () => {
AppState.removeEventListener('change', () => {})
AppState.removeEventListener('change', () => {
Notifications.setBadgeCountAsync(0)
Notifications.dismissAllNotificationsAsync()
})
}
}, [])