mirror of
https://github.com/Docile-Alligator/Infinity-For-Reddit.git
synced 2025-10-29 11:35:08 +00:00
Fix inbox badge showing 0.
This commit is contained in:
parent
532797cb38
commit
3dc02d4e07
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user