mirror of
https://github.com/tooot-app/app
synced 2025-05-29 10:24:24 +02: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])
|
}, [expoToken, pushEnabled.length])
|
||||||
|
|
||||||
return useEffect(() => {
|
return useEffect(() => {
|
||||||
|
Notifications.setBadgeCountAsync(0)
|
||||||
if (expoToken && pushEnabled.length) {
|
if (expoToken && pushEnabled.length) {
|
||||||
Notifications.setBadgeCountAsync(0)
|
|
||||||
connect()
|
connect()
|
||||||
}
|
}
|
||||||
}, [expoToken, pushEnabled.length])
|
}, [expoToken, pushEnabled.length])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user