Change highlight color

This commit is contained in:
MM20 2024-07-19 23:22:09 +02:00
parent 89cd56aafe
commit c3ad948c10
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389
3 changed files with 2 additions and 8 deletions

View File

@ -156,7 +156,7 @@ fun GridItem(
modifier = if (highlight) {
Modifier
.background(
MaterialTheme.colorScheme.outlineVariant,
MaterialTheme.colorScheme.surfaceVariant,
iconShape
)
} else Modifier,

View File

@ -63,7 +63,7 @@ fun ListItem(
}
val background by animateColorAsState(
if (highlight && !showDetails) MaterialTheme.colorScheme.outlineVariant else MaterialTheme.colorScheme.surface.copy(
if (highlight && !showDetails) MaterialTheme.colorScheme.surfaceVariant else MaterialTheme.colorScheme.surface.copy(
alpha = 0f
)
)

View File

@ -61,12 +61,6 @@ fun SearchSettingsScreen() {
val navController = LocalNavController.current
LaunchedEffect(Unit) {
lifecycleOwner.lifecycle.repeatOnLifecycle(Lifecycle.State.RESUMED) {
viewModel.onResume(context)
}
}
var showFilterEditor by remember {
mutableStateOf(false)
}