Fix AudioView tinting on Android 10.

fork-5.53.8
Greyson Parrelli 2020-03-26 09:39:35 -04:00
rodzic a3358e5b21
commit a73a73e42c
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -408,10 +408,10 @@ public class ConversationItem extends LinearLayout implements BindableConversati
private void setAudioViewTint(MessageRecord messageRecord, Recipient recipient) {
if (messageRecord.isOutgoing()) {
if (DynamicTheme.LIGHT.equals(TextSecurePreferences.getTheme(context))) {
audioViewStub.get().setTint(getContext().getResources().getColor(R.color.core_grey_60), defaultBubbleColor);
} else {
if (DynamicTheme.isDarkTheme(context)) {
audioViewStub.get().setTint(Color.WHITE, defaultBubbleColor);
} else {
audioViewStub.get().setTint(getContext().getResources().getColor(R.color.core_grey_60), defaultBubbleColor);
}
} else {
audioViewStub.get().setTint(Color.WHITE, recipient.getColor().toConversationColor(context));