From 2d661a6519a19ef105635d434edeff608f0e662d Mon Sep 17 00:00:00 2001 From: DatLag Date: Thu, 9 May 2024 16:21:58 +0200 Subject: [PATCH] fix missing initial tint --- .../aniflow/ui/navigation/screen/component/CollapsingToolbar.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composeApp/src/commonMain/kotlin/dev/datlag/aniflow/ui/navigation/screen/component/CollapsingToolbar.kt b/composeApp/src/commonMain/kotlin/dev/datlag/aniflow/ui/navigation/screen/component/CollapsingToolbar.kt index f8acff0..6210273 100644 --- a/composeApp/src/commonMain/kotlin/dev/datlag/aniflow/ui/navigation/screen/component/CollapsingToolbar.kt +++ b/composeApp/src/commonMain/kotlin/dev/datlag/aniflow/ui/navigation/screen/component/CollapsingToolbar.kt @@ -84,8 +84,8 @@ fun CollapsingToolbar( } ) { val user by userFlow.collectAsStateWithLifecycle(null) - var colorFilter by remember(user) { mutableStateOf(null) } val tintColor = LocalContentColor.current + var colorFilter by remember(user) { mutableStateOf(ColorFilter.tint(tintColor)) } AsyncImage( model = user?.avatar?.large,