Change highlight color
This commit is contained in:
parent
89cd56aafe
commit
c3ad948c10
@ -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,
|
||||||
|
|||||||
@ -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
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user