diff options
author | Christian Schneppe <christian.schneppe@pix-art.de> | 2020-02-08 19:30:21 +0100 |
---|---|---|
committer | Christian Schneppe <christian.schneppe@pix-art.de> | 2020-02-08 19:30:21 +0100 |
commit | ae09585ce2ebc97cad21df69b90753f7236990b6 (patch) | |
tree | fb0eb35d64b78de3b7f4240aaa434e3eaea759df /src/main/java/de/pixart/messenger/ui/SettingsActivity.java | |
parent | e96467e5ad9e001086be19cb6521c0f59ab8fd64 (diff) |
add preferece to use unicolored background
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/SettingsActivity.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/SettingsActivity.java b/src/main/java/de/pixart/messenger/ui/SettingsActivity.java index 68e0c9809..a85d4ddb2 100644 --- a/src/main/java/de/pixart/messenger/ui/SettingsActivity.java +++ b/src/main/java/de/pixart/messenger/ui/SettingsActivity.java @@ -76,6 +76,7 @@ public class SettingsActivity extends XmppActivity implements public static final String USE_INVIDIOUS = "use_invidious"; public static final String ALLOW_MESSAGE_CORRECTION = "allow_message_correction"; public static final String ENABLE_OTR_ENCRYPTION = "enable_otr_encryption"; + public static final String USE_UNICOLORED_CHATBG = "unicolored_chatbg"; public static final int REQUEST_CREATE_BACKUP = 0xbf8701; Preference multiAccountPreference; @@ -512,6 +513,8 @@ public class SettingsActivity extends XmppActivity implements xmppConnectionService.expireOldMessages(true); } else if (name.equals(THEME) || name.equals(THEME_COLOR)) { updateTheme(); + } else if (name.equals(USE_UNICOLORED_CHATBG)) { + xmppConnectionService.updateConversationUi(); } } |