From 4f1b82a72adfced9851b7b8437c7a1310d7beb20 Mon Sep 17 00:00:00 2001 From: nonproto <2092019+nonproto@users.noreply.github.com> Date: Wed, 27 Nov 2024 06:27:05 -0500 Subject: [PATCH] Fix nav bar badge color --- app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt index 32be39ffb1..f5e3fea79e 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt @@ -1300,7 +1300,9 @@ open class MainActivity : BaseActivity() { val hasQueue = downloading || downloadManager.queueState.value.isNotEmpty() if (hasQueue) { - nav.getOrCreateBadge(R.id.nav_recents) + nav.getOrCreateBadge(R.id.nav_recents).apply { + backgroundColor = this@MainActivity.getResourceColor(R.attr.colorSecondary) + } showDLQueueTutorial() } else { nav.removeBadge(R.id.nav_recents)