mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 06:40:30 +05:30
Merge pull request #2721 from Bnyro/master
Fix the color of notification badges
This commit is contained in:
commit
171838082a
@ -247,6 +247,7 @@ class MainActivity : BaseActivity() {
|
|||||||
binding.bottomNav.getOrCreateBadge(R.id.subscriptionsFragment).apply {
|
binding.bottomNav.getOrCreateBadge(R.id.subscriptionsFragment).apply {
|
||||||
number = lastSeenVideoIndex
|
number = lastSeenVideoIndex
|
||||||
backgroundColor = ThemeHelper.getThemeColor(this@MainActivity, R.attr.colorPrimary)
|
backgroundColor = ThemeHelper.getThemeColor(this@MainActivity, R.attr.colorPrimary)
|
||||||
|
badgeTextColor = ThemeHelper.getThemeColor(this@MainActivity, R.attr.colorOnPrimary)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user