Fix background color from remember calls
This commit is contained in:
@@ -67,7 +67,7 @@ fun MessageSetCompose(messageSetCard: MessageSetCard, routeForLastRead: String,
|
|||||||
MaterialTheme.colors.background
|
MaterialTheme.colors.background
|
||||||
}
|
}
|
||||||
|
|
||||||
val columnModifier = remember {
|
val columnModifier = remember(isNew) {
|
||||||
Modifier
|
Modifier
|
||||||
.background(backgroundColor)
|
.background(backgroundColor)
|
||||||
.padding(
|
.padding(
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ fun MultiSetCompose(multiSetCard: MultiSetCard, routeForLastRead: String, accoun
|
|||||||
MaterialTheme.colors.background
|
MaterialTheme.colors.background
|
||||||
}
|
}
|
||||||
|
|
||||||
val columnModifier = remember {
|
val columnModifier = remember(isNew) {
|
||||||
Modifier
|
Modifier
|
||||||
.background(backgroundColor)
|
.background(backgroundColor)
|
||||||
.padding(
|
.padding(
|
||||||
|
|||||||
Reference in New Issue
Block a user