aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main/res/values/defaults.xml1
-rw-r--r--src/main/res/values/strings.xml2
-rw-r--r--src/main/res/xml/preferences.xml5
3 files changed, 8 insertions, 0 deletions
diff --git a/src/main/res/values/defaults.xml b/src/main/res/values/defaults.xml
index 2c3ea9331..c32c092f4 100644
--- a/src/main/res/values/defaults.xml
+++ b/src/main/res/values/defaults.xml
@@ -73,6 +73,7 @@
<string name="default_channel_discovery">JABBER_NETWORK</string>
<bool name="use_unicolored_chatbg">false</bool>
<bool name="alternative_voice_settings">false</bool>
+ <bool name="use_colored_muc_names">false</bool>
<string-array name="domains">
<item>pix-art.de</item>
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index 260e74077..f61da74b9 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -1000,4 +1000,6 @@
<string name="pref_use_unicolored_chatbg">Use unicolored background</string>
<string name="pref_alternative_voice_settings_summary">If you have problems during voice recording, use this setting to change the codec.</string>
<string name="pref_alternative_voice_settings">Alternative voice recording method</string>
+ <string name="pref_use_colored_muc_names_summary">Colorize nicknames in group chats or channels like default avatar backgrounds.</string>
+ <string name="pref_use_colored_muc_names">Colorize nicknames</string>
</resources>
diff --git a/src/main/res/xml/preferences.xml b/src/main/res/xml/preferences.xml
index 8bc0d0372..291172702 100644
--- a/src/main/res/xml/preferences.xml
+++ b/src/main/res/xml/preferences.xml
@@ -41,6 +41,11 @@
android:summary="@string/pref_use_unicolored_chatbg_summary"
android:title="@string/pref_use_unicolored_chatbg" />
<CheckBoxPreference
+ android:defaultValue="@bool/use_colored_muc_names"
+ android:key="colored_muc_names"
+ android:summary="@string/pref_use_colored_muc_names_summary"
+ android:title="@string/pref_use_colored_muc_names" />
+ <CheckBoxPreference
android:defaultValue="@bool/send_button_status"
android:key="send_button_status"
android:summary="@string/pref_use_send_button_to_indicate_status_summary"