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 = if (highlight) {
Modifier Modifier
.background( .background(
MaterialTheme.colorScheme.outlineVariant, MaterialTheme.colorScheme.surfaceVariant,
iconShape iconShape
) )
} else Modifier, } else Modifier,

View File

@ -63,7 +63,7 @@ fun ListItem(
} }
val background by animateColorAsState( 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 alpha = 0f
) )
) )

View File

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