diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-12-09 07:15:17 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-12-09 07:15:17 +0000 |
commit | c3b2ffa65308ca14969a82e490f0c662f1794425 (patch) | |
tree | 2d017df2b9888ebebe8124da0de8e4adf0102dff /app/src/main/res | |
parent | fa5008ea5e304693423ce4850234aea51faca15b (diff) | |
download | infinity-for-reddit-c3b2ffa65308ca14969a82e490f0c662f1794425.tar infinity-for-reddit-c3b2ffa65308ca14969a82e490f0c662f1794425.tar.gz infinity-for-reddit-c3b2ffa65308ca14969a82e490f0c662f1794425.tar.bz2 infinity-for-reddit-c3b2ffa65308ca14969a82e490f0c662f1794425.tar.lz infinity-for-reddit-c3b2ffa65308ca14969a82e490f0c662f1794425.tar.xz infinity-for-reddit-c3b2ffa65308ca14969a82e490f0c662f1794425.tar.zst infinity-for-reddit-c3b2ffa65308ca14969a82e490f0c662f1794425.zip |
Add an option to delete all read posts.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/values/strings.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/xml/advanced_preferences.xml | 4 |
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 3aa406a4..7e7ed640 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -446,6 +446,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_read_posts_in_database_title">Delete All Read Posts 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> @@ -820,6 +821,7 @@ <string name="delete_all_post_layouts_success">Delete all post layouts successfully</string> <string name="delete_all_themes_success">Delete all themes successfully</string> <string name="delete_all_front_page_scrolled_positions_success">Delete all scrolled positions in front page successfully</string> + <string name="delete_all_read_posts_success">Delete all read posts successfully</string> <string name="delete_all_legacy_settings_success">Delete all legacy settings successfully</string> <string name="reset_all_settings_success">Reset all settings successfully</string> diff --git a/app/src/main/res/xml/advanced_preferences.xml b/app/src/main/res/xml/advanced_preferences.xml index 0d6c02e5..6992530d 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_read_posts_in_database" + app:title="@string/settings_delete_read_posts_in_database_title" /> + + <Preference app:key="delete_all_legacy_settings" app:title="@string/settings_delete_all_legacy_settings_title" /> |