From e4c364e1ea652b6112f9f101448219f89ed88c3a Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Tue, 10 Sep 2024 12:30:30 +0200 Subject: [PATCH] remove theming of call buttons to remove disabled look for dark mode In dark mode, the call buttons looked like disabled otherwise. There is still the 3-dots menu next to the call icons like disabled for dark and light mode. But this is a different bug that needs to be fixed in another branch(could not find the reason for now). Signed-off-by: Marcel Hibbe --- .../java/com/nextcloud/talk/chat/ChatActivity.kt | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt b/app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt index 21bdd850ad..c41ac3c231 100644 --- a/app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt @@ -2733,18 +2733,6 @@ class ChatActivity : super.onCreateOptionsMenu(menu) menuInflater.inflate(R.menu.menu_conversation, menu) - context.let { - viewThemeUtils.platform.colorToolbarMenuIcon( - it, - menu.findItem(R.id.conversation_voice_call) - ) - - viewThemeUtils.platform.colorToolbarMenuIcon( - it, - menu.findItem(R.id.conversation_video_call) - ) - } - if (conversationUser?.userId == "?") { menu.removeItem(R.id.conversation_info) } else {