Add hidden item badges
This commit is contained in:
@@ -43,6 +43,7 @@ internal class BadgeServiceImpl(
|
|||||||
settings.distinctUntilChanged().collectLatest {
|
settings.distinctUntilChanged().collectLatest {
|
||||||
val providers = mutableListOf<BadgeProvider>()
|
val providers = mutableListOf<BadgeProvider>()
|
||||||
providers += WorkProfileBadgeProvider()
|
providers += WorkProfileBadgeProvider()
|
||||||
|
providers += HiddenItemBadgeProvider()
|
||||||
if (it.notifications) {
|
if (it.notifications) {
|
||||||
providers += NotificationBadgeProvider()
|
providers += NotificationBadgeProvider()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user