aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-12-02 10:47:11 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-12-02 10:47:11 +0000
commit805017233b144101e6e1f814162508a815a4410a (patch)
tree90932e949e0820a24246d222a23b01cece0bc2a9 /app/src/main/res/xml
parent58a19c9ad1e5e358cc0babf5b4812d473706ef00 (diff)
downloadinfinity-for-reddit-805017233b144101e6e1f814162508a815a4410a.tar
infinity-for-reddit-805017233b144101e6e1f814162508a815a4410a.tar.gz
infinity-for-reddit-805017233b144101e6e1f814162508a815a4410a.tar.bz2
infinity-for-reddit-805017233b144101e6e1f814162508a815a4410a.tar.lz
infinity-for-reddit-805017233b144101e6e1f814162508a815a4410a.tar.xz
infinity-for-reddit-805017233b144101e6e1f814162508a815a4410a.tar.zst
infinity-for-reddit-805017233b144101e6e1f814162508a815a4410a.zip
Add an option to disable search history.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/miscellaneous_preferences.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/res/xml/miscellaneous_preferences.xml b/app/src/main/res/xml/miscellaneous_preferences.xml
index 95532c33..81a811fc 100644
--- a/app/src/main/res/xml/miscellaneous_preferences.xml
+++ b/app/src/main/res/xml/miscellaneous_preferences.xml
@@ -25,6 +25,12 @@
app:title="@string/settings_respect_subreddit_recommended_comment_sort_type_title"
app:summary="@string/settings_respect_subreddit_recommended_comment_sort_type_summary" />
+ <SwitchPreference
+ app:defaultValue="true"
+ app:key="enable_search_history"
+ app:title="@string/settings_enable_search_history"
+ app:summary="@string/only_for_logged_in_user" />
+
<ListPreference
app:defaultValue="auto"
app:entries="@array/settings_language"