diff --git a/android/app/src/main/java/com/mattermost/rnbeta/CustomPushNotification.java b/android/app/src/main/java/com/mattermost/rnbeta/CustomPushNotification.java index 4ef9892ac..b05473f7b 100644 --- a/android/app/src/main/java/com/mattermost/rnbeta/CustomPushNotification.java +++ b/android/app/src/main/java/com/mattermost/rnbeta/CustomPushNotification.java @@ -279,7 +279,7 @@ public class CustomPushNotification extends PushNotification { private void setNotificationNumber(Notification.Builder notification, String channelId) { Integer number = channelIdToNotificationCount.get(channelId); - if (number != null) { + if (number == null) { number = 0; } notification.setNumber(number);