Skip to content

Commit

Permalink
remove theming of call buttons to remove disabled look for dark mode
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mahibi committed Sep 11, 2024
1 parent 58474dd commit 796053e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 796053e

Please sign in to comment.