From d41c103a72678211de20bbbad4d7db7f46091b93 Mon Sep 17 00:00:00 2001 From: arkon Date: Fri, 4 Nov 2022 09:38:38 -0400 Subject: [PATCH] Increase visibility of selected item background in dark themes Closes #8419 --- app/src/main/java/eu/kanade/presentation/util/Modifier.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/presentation/util/Modifier.kt b/app/src/main/java/eu/kanade/presentation/util/Modifier.kt index e1c5b8725..52b4eae57 100644 --- a/app/src/main/java/eu/kanade/presentation/util/Modifier.kt +++ b/app/src/main/java/eu/kanade/presentation/util/Modifier.kt @@ -22,7 +22,7 @@ import kotlin.math.roundToInt fun Modifier.selectedBackground(isSelected: Boolean): Modifier = composed { if (isSelected) { - val alpha = if (isSystemInDarkTheme()) 0.08f else 0.22f + val alpha = if (isSystemInDarkTheme()) 0.16f else 0.22f background(MaterialTheme.colorScheme.secondary.copy(alpha = alpha)) } else { this