Add hidden item badges
This commit is contained in:
parent
a72a387311
commit
be20e4d1a7
@ -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()
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user