aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-12-23 09:03:41 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-12-23 09:03:41 +0000
commit6a8f27f9476db4328b1a00595c9e09c5a83ffb22 (patch)
tree309f01899d26c463e70d0b2f12df5ccc1190a198 /app/src/main/res/xml
parentc88ceb737be67e0240f5eff51a5570a038bd27c7 (diff)
downloadinfinity-for-reddit-6a8f27f9476db4328b1a00595c9e09c5a83ffb22.tar
infinity-for-reddit-6a8f27f9476db4328b1a00595c9e09c5a83ffb22.tar.gz
infinity-for-reddit-6a8f27f9476db4328b1a00595c9e09c5a83ffb22.tar.bz2
infinity-for-reddit-6a8f27f9476db4328b1a00595c9e09c5a83ffb22.tar.lz
infinity-for-reddit-6a8f27f9476db4328b1a00595c9e09c5a83ffb22.tar.xz
infinity-for-reddit-6a8f27f9476db4328b1a00595c9e09c5a83ffb22.tar.zst
infinity-for-reddit-6a8f27f9476db4328b1a00595c9e09c5a83ffb22.zip
Add a new option category: Post Filter. Marking posts as read is disabled by default. Marking posts as read after voting is now available.
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/main_preferences.xml5
-rw-r--r--app/src/main/res/xml/miscellaneous_preferences.xml2
-rw-r--r--app/src/main/res/xml/post_history.xml4
3 files changed, 10 insertions, 1 deletions
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
@@ -58,6 +58,11 @@
app:fragment="ml.docilealligator.infinityforreddit.settings.NsfwAndBlurringFragment"/>
<Preference
+ app:icon="@drawable/ic_history_24dp"
+ android:title="@string/settings_post_history_title"
+ app:fragment="ml.docilealligator.infinityforreddit.settings.PostHistoryFragment" />
+
+ <Preference
app:icon="@drawable/ic_filter_24dp"
app:title="@string/settings_filter_title"
app:fragment="ml.docilealligator.infinityforreddit.settings.FilterPreferenceFragment"/>
diff --git a/app/src/main/res/xml/miscellaneous_preferences.xml b/app/src/main/res/xml/miscellaneous_preferences.xml
index 81a811fc..6fb763f6 100644
--- a/app/src/main/res/xml/miscellaneous_preferences.xml
+++ b/app/src/main/res/xml/miscellaneous_preferences.xml
@@ -28,7 +28,7 @@
<SwitchPreference
app:defaultValue="true"
app:key="enable_search_history"
- app:title="@string/settings_enable_search_history"
+ app:title="@string/settings_enable_search_history_title"
app:summary="@string/only_for_logged_in_user" />
<ListPreference
diff --git a/app/src/main/res/xml/post_history.xml b/app/src/main/res/xml/post_history.xml
new file mode 100644
index 00000000..624ed13a
--- /dev/null
+++ b/app/src/main/res/xml/post_history.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+</PreferenceScreen> \ No newline at end of file