From aa3aee0b277216fc26333bdb24150e948f5ea724 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Mon, 16 Jan 2023 18:36:30 +0100 Subject: [PATCH] Fix the color of notification badges --- .../main/java/com/github/libretube/ui/activities/MainActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt b/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt index 66d3a6174..650d807a6 100644 --- a/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt +++ b/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt @@ -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) } } }