From eaaa7f5b03920458b7c6215bc46d94e13a4fd90f Mon Sep 17 00:00:00 2001 From: Laky64 <35636667+Laky-64@users.noreply.github.com> Date: Thu, 24 Mar 2022 03:05:43 +0100 Subject: [PATCH] Missing Theme Color in ProfileActivity (QrItem) I've added the missing theme color in ProfileActivity for the Share QR Code Button --- .../src/main/java/org/telegram/ui/ProfileActivity.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/TMessagesProj/src/main/java/org/telegram/ui/ProfileActivity.java b/TMessagesProj/src/main/java/org/telegram/ui/ProfileActivity.java index 62c6f7bdb..5bf64a691 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/ProfileActivity.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/ProfileActivity.java @@ -8278,7 +8278,8 @@ public class ProfileActivity extends BaseFragment implements NotificationCenter. arrayList.add(new ThemeDescription(listView, 0, new Class[]{TextDetailCell.class}, new String[]{"textView"}, null, null, null, Theme.key_windowBackgroundWhiteBlackText)); arrayList.add(new ThemeDescription(listView, 0, new Class[]{TextDetailCell.class}, new String[]{"valueTextView"}, null, null, null, Theme.key_windowBackgroundWhiteGrayText2)); - + arrayList.add(new ThemeDescription(listView, ThemeDescription.FLAG_BACKGROUNDFILTER, new Class[]{TextDetailCell.class}, new String[]{"imageView"}, null, null, null, Theme.key_switch2TrackChecked)); + arrayList.add(new ThemeDescription(listView, 0, new Class[]{HeaderCell.class}, new String[]{"textView"}, null, null, null, Theme.key_windowBackgroundWhiteBlueHeader)); arrayList.add(new ThemeDescription(listView, 0, new Class[]{SettingsSuggestionCell.class}, new String[]{"textView"}, null, null, null, Theme.key_windowBackgroundWhiteBlueHeader)); @@ -8580,4 +8581,4 @@ public class ProfileActivity extends BaseFragment implements NotificationCenter. } return ColorUtils.calculateLuminance(color) > 0.7f; } -} \ No newline at end of file +}