mirror of
https://github.com/tooot-app/app
synced 2025-02-18 12:50:46 +01:00
Force clearing push count
This commit is contained in:
parent
869524eb84
commit
ca810065f8
@ -94,8 +94,8 @@ const pushUseConnect = ({ t, instances }: Params) => {
|
||||
}, [expoToken, pushEnabled.length])
|
||||
|
||||
return useEffect(() => {
|
||||
Notifications.setBadgeCountAsync(0)
|
||||
if (expoToken && pushEnabled.length) {
|
||||
Notifications.setBadgeCountAsync(0)
|
||||
connect()
|
||||
}
|
||||
}, [expoToken, pushEnabled.length])
|
||||
|
Loading…
x
Reference in New Issue
Block a user