Fix color

This commit is contained in:
Benoit Marty 2021-07-13 17:19:11 +02:00
parent 013174d3dc
commit 95bb796bad
4 changed files with 1 additions and 7 deletions

View File

@ -128,10 +128,6 @@
<color name="vctr_chat_effect_snow_background_light">@color/black_alpha</color> <color name="vctr_chat_effect_snow_background_light">@color/black_alpha</color>
<color name="vctr_chat_effect_snow_background_dark">@android:color/transparent</color> <color name="vctr_chat_effect_snow_background_dark">@android:color/transparent</color>
<attr name="vctr_voice_message_lock_background" format="color" />
<color name="vctr_voice_message_lock_background_light">#FFF3F8FD</color>
<color name="vctr_voice_message_lock_background_dark">#22252B</color>
<attr name="vctr_voice_message_toast_background" format="color" /> <attr name="vctr_voice_message_toast_background" format="color" />
<color name="vctr_voice_message_toast_background_light">@color/palette_black_900</color> <color name="vctr_voice_message_toast_background_light">@color/palette_black_900</color>
<color name="vctr_voice_message_toast_background_dark">@color/palette_gray_450</color> <color name="vctr_voice_message_toast_background_dark">@color/palette_gray_450</color>

View File

@ -136,7 +136,6 @@
<item name="vctr_jump_to_unread_style">@style/Widget.Vector.JumpToUnread.Dark</item> <item name="vctr_jump_to_unread_style">@style/Widget.Vector.JumpToUnread.Dark</item>
<!-- Voice Message --> <!-- Voice Message -->
<item name="vctr_voice_message_lock_background">@color/vctr_voice_message_lock_background_dark</item>
<item name="vctr_voice_message_toast_background">@color/vctr_voice_message_toast_background_dark</item> <item name="vctr_voice_message_toast_background">@color/vctr_voice_message_toast_background_dark</item>
</style> </style>

View File

@ -138,7 +138,6 @@
<item name="vctr_jump_to_unread_style">@style/Widget.Vector.JumpToUnread.Light</item> <item name="vctr_jump_to_unread_style">@style/Widget.Vector.JumpToUnread.Light</item>
<!-- Voice Message --> <!-- Voice Message -->
<item name="vctr_voice_message_lock_background">@color/vctr_voice_message_lock_background_light</item>
<item name="vctr_voice_message_toast_background">@color/vctr_voice_message_toast_background_light</item> <item name="vctr_voice_message_toast_background">@color/vctr_voice_message_toast_background_light</item>
</style> </style>

View File

@ -12,7 +12,7 @@
android:layout_width="52dp" android:layout_width="52dp"
android:layout_height="160dp" android:layout_height="160dp"
android:background="@drawable/bg_voice_message_lock" android:background="@drawable/bg_voice_message_lock"
android:backgroundTint="?vctr_voice_message_lock_background" android:backgroundTint="?vctr_system"
android:visibility="gone" android:visibility="gone"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/voiceMessageMicButton" app:layout_constraintTop_toBottomOf="@id/voiceMessageMicButton"