Change highlight color
This commit is contained in:
parent
89cd56aafe
commit
c3ad948c10
@ -156,7 +156,7 @@ fun GridItem(
|
||||
modifier = if (highlight) {
|
||||
Modifier
|
||||
.background(
|
||||
MaterialTheme.colorScheme.outlineVariant,
|
||||
MaterialTheme.colorScheme.surfaceVariant,
|
||||
iconShape
|
||||
)
|
||||
} else Modifier,
|
||||
|
||||
@ -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
|
||||
)
|
||||
)
|
||||
|
||||
@ -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)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user