From 3ac68e810d1d5a4a7d40b2be4a846fad96d42735 Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 16 Dec 2023 11:04:33 -0500 Subject: [PATCH] Workaround for broken nav bar icon colors --- .../main/java/eu/kanade/tachiyomi/ui/home/HomeScreen.kt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/home/HomeScreen.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/home/HomeScreen.kt index 561f34df3..ff2cb7075 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/home/HomeScreen.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/home/HomeScreen.kt @@ -14,6 +14,7 @@ import androidx.compose.foundation.layout.padding import androidx.compose.material3.Badge import androidx.compose.material3.BadgedBox import androidx.compose.material3.Icon +import androidx.compose.material3.LocalContentColor import androidx.compose.material3.MaterialTheme import androidx.compose.material3.NavigationBarItem import androidx.compose.material3.NavigationRailItem @@ -277,7 +278,12 @@ object HomeScreen : Screen() { } }, ) { - Icon(painter = tab.options.icon!!, contentDescription = tab.options.title) + Icon( + painter = tab.options.icon!!, + contentDescription = tab.options.title, + // TODO: https://issuetracker.google.com/u/0/issues/316327367 + tint = LocalContentColor.current, + ) } }