diff --git a/src/utils/push/useConnect.ts b/src/utils/push/useConnect.ts index e89b8610..3d8ad47f 100644 --- a/src/utils/push/useConnect.ts +++ b/src/utils/push/useConnect.ts @@ -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])