Merge pull request #2721 from Bnyro/master

Fix the color of notification badges
This commit is contained in:
Bnyro 2023-01-16 18:36:53 +01:00 committed by GitHub
commit 171838082a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)
}
}
}