Skip to content

Commit

Permalink
fix missing initial tint
Browse files Browse the repository at this point in the history
  • Loading branch information
DatL4g committed May 9, 2024
1 parent 94de758 commit 2d661a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ fun CollapsingToolbar(
}
) {
val user by userFlow.collectAsStateWithLifecycle(null)
var colorFilter by remember(user) { mutableStateOf<ColorFilter?>(null) }
val tintColor = LocalContentColor.current
var colorFilter by remember(user) { mutableStateOf<ColorFilter?>(ColorFilter.tint(tintColor)) }

AsyncImage(
model = user?.avatar?.large,
Expand Down

0 comments on commit 2d661a6

Please sign in to comment.