mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-29 09:58:54 +03:00
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 <dev@mhibbe.de>
This commit is contained in:
parent
58474dd97f
commit
796053e271
1 changed files with 0 additions and 12 deletions
|
@ -2733,18 +2733,6 @@ class ChatActivity :
|
||||||
super.onCreateOptionsMenu(menu)
|
super.onCreateOptionsMenu(menu)
|
||||||
menuInflater.inflate(R.menu.menu_conversation, 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 == "?") {
|
if (conversationUser?.userId == "?") {
|
||||||
menu.removeItem(R.id.conversation_info)
|
menu.removeItem(R.id.conversation_info)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue