aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
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/main_preferences.xml6
2 files changed, 8 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 05c1c9de..9d918d75 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -348,6 +348,8 @@
<string name="settings_amoled_dark_title">Amoled Dark</string>
<string name="settings_interface_title">Interface</string>
<string name="settings_gestures_and_buttons_title">Gestures &amp; Buttons</string>
+ <string name="settings_save_post_feed_scrolled_position_title">Save Scrolled Position in Post Feed</string>
+ <string name="settings_save_post_feed_scrolled_position_summary">Browse new posts after refreshing</string>
<string name="settings_open_link_in_app_title">Open Link In App</string>
<string name="settigns_video_title">Video</string>
<string name="settings_video_autoplay_title">Video Autoplay</string>
diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml
index af3f3898..3b1b129f 100644
--- a/app/src/main/res/xml/main_preferences.xml
+++ b/app/src/main/res/xml/main_preferences.xml
@@ -37,6 +37,12 @@
app:useSimpleSummaryProvider="true" />
<SwitchPreference
+ app:defaultValue="true"
+ app:key="save_post_feed_scrolled_position"
+ app:title="@string/settings_save_post_feed_scrolled_position_title"
+ app:summary="@string/settings_save_post_feed_scrolled_position_summary" />
+
+ <SwitchPreference
app:defaultValue="false"
app:icon="@drawable/ic_link"
app:key="open_link_in_app"