From 4f4713e5afbc813610bb7e06fea7eeaaf3a45f61 Mon Sep 17 00:00:00 2001 From: Diogo Date: Fri, 30 Aug 2024 23:11:33 +0100 Subject: [PATCH] better switch of opacity bg --- .../kotlin/chat/simplex/common/views/chatlist/UserPicker.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/UserPicker.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/UserPicker.kt index 7d2a8fb543..708ac820e6 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/UserPicker.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/chatlist/UserPicker.kt @@ -386,7 +386,7 @@ fun UserPicker( } Box( - modifier = if (appPlatform.isAndroid) Modifier.background(color = Color.Gray.copy(alpha = 0.6f)) else Modifier) { + modifier = if (appPlatform.isAndroid && newChat.isVisible()) Modifier.background(color = Color.Gray.copy(alpha = 0.6f)) else Modifier) { AnimatedVisibility( visible = newChat.isVisible(), enter = if (appPlatform.isAndroid) slideInVertically(