From 22edd92079b91fe5c950063d5f39f3bbbf921d97 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Wed, 5 Oct 2022 08:50:24 +0100 Subject: [PATCH] android: change scrim color for new chat button in dark mode --- .../main/java/chat/simplex/app/views/chatlist/ChatListView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/android/app/src/main/java/chat/simplex/app/views/chatlist/ChatListView.kt b/apps/android/app/src/main/java/chat/simplex/app/views/chatlist/ChatListView.kt index 438e5f267f..bd5018546e 100644 --- a/apps/android/app/src/main/java/chat/simplex/app/views/chatlist/ChatListView.kt +++ b/apps/android/app/src/main/java/chat/simplex/app/views/chatlist/ChatListView.kt @@ -91,7 +91,7 @@ fun ChatListView(chatModel: ChatModel, setPerformLA: (Boolean) -> Unit, stopped: Modifier .fillMaxSize() .clickable(remember { MutableInteractionSource() }, indication = null) { showNewChatDialog = false }, - color = if (isInDarkTheme()) MaterialTheme.colors.background.copy(ContentAlpha.disabled) else DrawerDefaults.scrimColor, + color = if (isInDarkTheme()) Color.Black.copy(alpha = 0.64f) else DrawerDefaults.scrimColor, ) { Column( verticalArrangement = Arrangement.Bottom,