From 4b39525c821767dfd94f04362802b6f56226c798 Mon Sep 17 00:00:00 2001 From: xmflsct Date: Thu, 27 Oct 2022 23:25:09 +0200 Subject: [PATCH] Try to fix #413 --- src/utils/push/useConnect.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/push/useConnect.ts b/src/utils/push/useConnect.ts index ab2f7adc..c8da7fbc 100644 --- a/src/utils/push/useConnect.ts +++ b/src/utils/push/useConnect.ts @@ -33,6 +33,7 @@ const pushUseConnect = ({ t, instances }: Params) => { url: `push/connect/${expoToken}`, sentry: true }).catch(error => { + Notifications.setBadgeCountAsync(0) if (error?.status == 404) { displayMessage({ theme,