aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/github/daneren2005/dsub/fragments/SettingsFragment.java2
-rw-r--r--app/src/main/res/xml/settings_appearance.xml8
-rw-r--r--app/src/main/res/xml/settings_drawer.xml10
3 files changed, 11 insertions, 9 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/fragments/SettingsFragment.java b/app/src/main/java/github/daneren2005/dsub/fragments/SettingsFragment.java
index 7b294849..fc436a61 100644
--- a/app/src/main/java/github/daneren2005/dsub/fragments/SettingsFragment.java
+++ b/app/src/main/java/github/daneren2005/dsub/fragments/SettingsFragment.java
@@ -353,6 +353,8 @@ public class SettingsFragment extends PreferenceCompatFragment implements Shared
if(theme != null) {
theme.setSummary(theme.getEntry());
+ }
+ if(openToTab != null) {
openToTab.setSummary(openToTab.getEntry());
}
diff --git a/app/src/main/res/xml/settings_appearance.xml b/app/src/main/res/xml/settings_appearance.xml
index 5e355526..530d92a1 100644
--- a/app/src/main/res/xml/settings_appearance.xml
+++ b/app/src/main/res/xml/settings_appearance.xml
@@ -53,14 +53,6 @@
android:key="renameDuplicates"
android:defaultValue="true"/>
- <ListPreference
- android:title="@string/settings.open_to_tab"
- android:summary="@string/settings.open_to_tab_summary"
- android:key="openToTab"
- android:entryValues="@array/defaultDrawerItemsDescriptions"
- android:entries="@array/defaultDrawerItems"
- android:defaultValue="Home"/>
-
<CheckBoxPreference
android:title="@string/settings.disable_exit_prompt"
android:summary="@string/settings.disable_exit_prompt_summary"
diff --git a/app/src/main/res/xml/settings_drawer.xml b/app/src/main/res/xml/settings_drawer.xml
index a874881a..4b92737e 100644
--- a/app/src/main/res/xml/settings_drawer.xml
+++ b/app/src/main/res/xml/settings_drawer.xml
@@ -38,7 +38,15 @@
</PreferenceCategory>
<PreferenceCategory
- android:title="@string/button_bar.chat">
+ android:title="@string/settings.other_title">
+
+ <ListPreference
+ android:title="@string/settings.open_to_tab"
+ android:summary="@string/settings.open_to_tab_summary"
+ android:key="openToTab"
+ android:entryValues="@array/defaultDrawerItemsDescriptions"
+ android:entries="@array/defaultDrawerItems"
+ android:defaultValue="Home"/>
<github.daneren2005.dsub.view.SeekBarPreference
android:title="@string/settings.chat_refresh"