Fix stats chart color

master
Koitharu 2 years ago
parent 0a1bc6716b
commit 88f55997fa
Signed by: Koitharu
GPG Key ID: 676DEE768C17A9D7

@ -33,7 +33,7 @@ object KotatsuColors {
val hue = (manga.id.absoluteValue % 360).toFloat()
ColorUtils.HSLToColor(floatArrayOf(hue, 0.5f, 0.5f))
} else {
context.getThemeColor(R.attr.colorSurface)
context.getThemeColor(R.attr.colorOutline)
}
val backgroundColor = context.getThemeColor(R.attr.colorSurfaceContainerHigh)
return MaterialColors.harmonize(color, backgroundColor)

Loading…
Cancel
Save