aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-05-24 08:48:16 -0700
committerScott Jackson <daneren2005@gmail.com>2013-05-24 08:48:16 -0700
commite0aa0774ae962afdcfbfe4cd40d3c77aa55c61fb (patch)
treeb7d8cd07b34060673adf2d5ece1b3db323489140 /subsonic-android/res
parentdf400f57394badb6f249205074662ac3a00e6da5 (diff)
downloaddsub-e0aa0774ae962afdcfbfe4cd40d3c77aa55c61fb.tar.gz
dsub-e0aa0774ae962afdcfbfe4cd40d3c77aa55c61fb.tar.bz2
dsub-e0aa0774ae962afdcfbfe4cd40d3c77aa55c61fb.zip
Added option to disable chat menu
Diffstat (limited to 'subsonic-android/res')
-rw-r--r--subsonic-android/res/values/strings.xml2
-rw-r--r--subsonic-android/res/xml/settings.xml6
2 files changed, 8 insertions, 0 deletions
diff --git a/subsonic-android/res/values/strings.xml b/subsonic-android/res/values/strings.xml
index 9ad821a6..10e5bd4c 100644
--- a/subsonic-android/res/values/strings.xml
+++ b/subsonic-android/res/values/strings.xml
@@ -277,6 +277,8 @@
<string name="settings.gapless_playback">Gapless Playback</string>
<string name="settings.gapless_playback_summary">The Galaxy S3 seems to be experiencing freezes/other weird issue since the introduction of gapless playback. Turn this off to fix the issue.</string>
<string name="settings.chat_refresh">Chat Refresh Rate (Secs)</string>
+ <string name="settings.chat_enabled">Chat Enabled</string>
+ <string name="settings.chat_enabled_summary">Whether or not to display the chat tab</string>
<string name="shuffle.startYear">Start Year:</string>
<string name="shuffle.endYear">End Year:</string>
diff --git a/subsonic-android/res/xml/settings.xml b/subsonic-android/res/xml/settings.xml
index 49c8a634..17a51621 100644
--- a/subsonic-android/res/xml/settings.xml
+++ b/subsonic-android/res/xml/settings.xml
@@ -131,6 +131,12 @@
<PreferenceCategory
android:title="@string/button_bar.chat">
+
+ <CheckBoxPreference
+ android:title="@string/settings.chat_enabled"
+ android:summary="@string/settings.chat_enabled_summary"
+ android:key="chatEnabled"
+ android:defaultValue="true"/>
<EditTextPreference
android:title="@string/settings.chat_refresh"