diff --git a/app/lib/notifications/push.ts b/app/lib/notifications/push.ts index 436506a2..a6c06c63 100644 --- a/app/lib/notifications/push.ts +++ b/app/lib/notifications/push.ts @@ -73,8 +73,8 @@ class PushNotification { return this.deviceToken; } - setBadgeCount = (count?: number) => { - if (isIOS && count) { + setBadgeCount = (count = 0) => { + if (isIOS) { Notifications.ios.setBadgeCount(count); } };