Fix the color of notification badges

This commit is contained in:
Bnyro 2023-01-16 18:36:30 +01:00
parent 4e978faea3
commit aa3aee0b27

View File

@ -247,6 +247,7 @@ class MainActivity : BaseActivity() {
binding.bottomNav.getOrCreateBadge(R.id.subscriptionsFragment).apply {
number = lastSeenVideoIndex
backgroundColor = ThemeHelper.getThemeColor(this@MainActivity, R.attr.colorPrimary)
badgeTextColor = ThemeHelper.getThemeColor(this@MainActivity, R.attr.colorOnPrimary)
}
}
}