mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-10 05:57:48 +01:00
Workaround for broken nav bar icon colors
This commit is contained in:
parent
e6fe5c827c
commit
3ac68e810d
1 changed files with 7 additions and 1 deletions
|
@ -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,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue