From 14dbbee1e3a82ed9d236eb6f98d11c150c4275eb Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 13 Jul 2021 16:10:51 +0200 Subject: [PATCH] Fix background color of voice message item --- library/ui-styles/src/main/res/values/colors.xml | 4 ---- library/ui-styles/src/main/res/values/theme_dark.xml | 1 - library/ui-styles/src/main/res/values/theme_light.xml | 1 - vector/src/main/res/layout/item_timeline_event_voice_stub.xml | 2 +- 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/library/ui-styles/src/main/res/values/colors.xml b/library/ui-styles/src/main/res/values/colors.xml index d7097b404d..1a032d94b6 100644 --- a/library/ui-styles/src/main/res/values/colors.xml +++ b/library/ui-styles/src/main/res/values/colors.xml @@ -132,10 +132,6 @@ #FFF3F8FD #22252B - - #FFE3E8F0 - #FF394049 - #FFE3E8F0 #FF394049 diff --git a/library/ui-styles/src/main/res/values/theme_dark.xml b/library/ui-styles/src/main/res/values/theme_dark.xml index 18ed21ae14..5826f5fcd3 100644 --- a/library/ui-styles/src/main/res/values/theme_dark.xml +++ b/library/ui-styles/src/main/res/values/theme_dark.xml @@ -137,7 +137,6 @@ @color/vctr_voice_message_lock_background_dark - @color/vctr_voice_message_playback_background_dark @color/vctr_voice_message_recording_playback_background_dark @color/vctr_voice_message_toast_background_dark diff --git a/library/ui-styles/src/main/res/values/theme_light.xml b/library/ui-styles/src/main/res/values/theme_light.xml index 974a9e0b24..0e0049010a 100644 --- a/library/ui-styles/src/main/res/values/theme_light.xml +++ b/library/ui-styles/src/main/res/values/theme_light.xml @@ -139,7 +139,6 @@ @color/vctr_voice_message_lock_background_light - @color/vctr_voice_message_playback_background_light @color/vctr_voice_message_recording_playback_background_light @color/vctr_voice_message_toast_background_light diff --git a/vector/src/main/res/layout/item_timeline_event_voice_stub.xml b/vector/src/main/res/layout/item_timeline_event_voice_stub.xml index 26b8742086..f9107cc595 100644 --- a/vector/src/main/res/layout/item_timeline_event_voice_stub.xml +++ b/vector/src/main/res/layout/item_timeline_event_voice_stub.xml @@ -11,7 +11,7 @@ android:layout_width="0dp" android:layout_height="wrap_content" android:background="@drawable/bg_voice_playback" - android:backgroundTint="?vctr_voice_message_playback_background" + android:backgroundTint="?vctr_content_quinary" android:minHeight="48dp" android:paddingStart="8dp" android:paddingTop="6dp"