aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-08-18 07:33:41 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-08-18 07:33:41 +0000
commit11e1591fd4b0e361bd83fab64370bd0340554bf0 (patch)
tree9b571eb1e19bd7aa59c0a39866132a7c5c73cfac /app/src/main/res
parentd0c30609ae931081793f9443e1d589dcaf9a75f5 (diff)
downloadinfinity-for-reddit-11e1591fd4b0e361bd83fab64370bd0340554bf0.tar
infinity-for-reddit-11e1591fd4b0e361bd83fab64370bd0340554bf0.tar.gz
infinity-for-reddit-11e1591fd4b0e361bd83fab64370bd0340554bf0.tar.bz2
infinity-for-reddit-11e1591fd4b0e361bd83fab64370bd0340554bf0.tar.lz
infinity-for-reddit-11e1591fd4b0e361bd83fab64370bd0340554bf0.tar.xz
infinity-for-reddit-11e1591fd4b0e361bd83fab64370bd0340554bf0.tar.zst
infinity-for-reddit-11e1591fd4b0e361bd83fab64370bd0340554bf0.zip
Separate sort types for different users. Add an advanced option: Delete All Legacy Settings. Remove random sort type.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/values/strings.xml2
-rw-r--r--app/src/main/res/xml/advanced_preferences.xml4
2 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index f79108a6..b909ab32 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -455,6 +455,7 @@
<string name="settings_delete_all_post_layout_data_in_database_title">Delete All Post Layouts in Database</string>
<string name="settings_delete_all_themes_in_database_title">Delete All Themes in Database</string>
<string name="settings_delete_front_page_scrolled_positions_in_database_title">Delete All Front Page Scrolled Positions in Database</string>
+ <string name="settings_delete_all_legacy_settings_title">Delete All Legacy Settings</string>
<string name="settings_reset_all_settings_title">Reset All Settings</string>
<string name="settings_advanced_settings_summary">Clean the database and shared preferences</string>
<string name="settings_tab_info">Restart the app to see the changes</string>
@@ -776,6 +777,7 @@
<string name="delete_all_post_layouts_success">Delete all post layouts successful</string>
<string name="delete_all_themes_success">Delete all themes successful</string>
<string name="delete_all_front_page_scrolled_positions_success">Delete all scrolled positions in front page successful</string>
+ <string name="delete_all_legacy_settings_success">Delete all legacy settings successful</string>
<string name="reset_all_settings_success">Reset all settings successful</string>
<string name="theme_preview">Theme Preview</string>
diff --git a/app/src/main/res/xml/advanced_preferences.xml b/app/src/main/res/xml/advanced_preferences.xml
index d890159f..0d6c02e5 100644
--- a/app/src/main/res/xml/advanced_preferences.xml
+++ b/app/src/main/res/xml/advanced_preferences.xml
@@ -27,6 +27,10 @@
app:title="@string/settings_delete_front_page_scrolled_positions_in_database_title" />
<Preference
+ app:key="delete_all_legacy_settings"
+ app:title="@string/settings_delete_all_legacy_settings_title" />
+
+ <Preference
app:key="reset_all_settings"
app:title="@string/settings_reset_all_settings_title" />