From 6a8f27f9476db4328b1a00595c9e09c5a83ffb22 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Wed, 23 Dec 2020 17:03:41 +0800 Subject: Add a new option category: Post Filter. Marking posts as read is disabled by default. Marking posts as read after voting is now available. --- .../main/res/drawable-night/ic_history_24dp.xml | 9 +++ app/src/main/res/layout/fragment_post_history.xml | 93 ++++++++++++++++++++++ app/src/main/res/values/strings.xml | 5 +- app/src/main/res/xml/main_preferences.xml | 5 ++ app/src/main/res/xml/miscellaneous_preferences.xml | 2 +- app/src/main/res/xml/post_history.xml | 4 + 6 files changed, 116 insertions(+), 2 deletions(-) create mode 100644 app/src/main/res/drawable-night/ic_history_24dp.xml create mode 100644 app/src/main/res/layout/fragment_post_history.xml create mode 100644 app/src/main/res/xml/post_history.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable-night/ic_history_24dp.xml b/app/src/main/res/drawable-night/ic_history_24dp.xml new file mode 100644 index 00000000..af91e161 --- /dev/null +++ b/app/src/main/res/drawable-night/ic_history_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/layout/fragment_post_history.xml b/app/src/main/res/layout/fragment_post_history.xml new file mode 100644 index 00000000..7eb07801 --- /dev/null +++ b/app/src/main/res/layout/fragment_post_history.xml @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 0843d94e..ea62ed9c 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -513,7 +513,10 @@ Swipe Right Not applicable to post feed with more than 1 column or post detail. Language - Enable Search History + Enable Search History + Post History + Mark Posts As Read + Mark Posts As Read After Voting Cannot get the link diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml index 666bc186..334ebd1a 100644 --- a/app/src/main/res/xml/main_preferences.xml +++ b/app/src/main/res/xml/main_preferences.xml @@ -57,6 +57,11 @@ app:title="@string/settings_nsfw_and_spoiler_title" app:fragment="ml.docilealligator.infinityforreddit.settings.NsfwAndBlurringFragment"/> + + + + + \ No newline at end of file -- cgit v1.2.3