Fix inbox badge showing 0.

This commit is contained in:
Docile-Alligator 2025-10-20 12:05:22 -04:00
parent 532797cb38
commit 3dc02d4e07

View File

@ -264,7 +264,7 @@ public class NavigationWrapper {
}
} else if (option3 == SharedPreferencesUtils.MAIN_ACTIVITY_BOTTOM_APP_BAR_OPTION_INBOX || option3 == SharedPreferencesUtils.OTHER_ACTIVITIES_BOTTOM_APP_BAR_OPTION_INBOX) {
if (navigationRailView == null) {
if (this.inboxCount == 0 && badgeDrawable != null) {
if (this.inboxCount == 0) {
BadgeUtils.detachBadgeDrawable(badgeDrawable, option3BottomAppBar);
badgeDrawable = null;
} else {