aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/xml
diff options
context:
space:
mode:
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/security_preferences.xml8
2 files changed, 13 insertions, 0 deletions
diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml
index ce6ff184..48bf5697 100644
--- a/app/src/main/res/xml/main_preferences.xml
+++ b/app/src/main/res/xml/main_preferences.xml
@@ -41,6 +41,11 @@
android:icon="@drawable/ic_download_24dp"
app:fragment="ml.docilealligator.infinityforreddit.Settings.DownloadLocationPreferenceFragment" />
+ <Preference
+ app:title="@string/settings_security_title"
+ android:icon="@drawable/ic_security_24dp"
+ app:fragment="ml.docilealligator.infinityforreddit.Settings.SecurityPreferenceFragment" />
+
<SwitchPreference
app:defaultValue="false"
app:key="save_front_page_scrolled_position"
diff --git a/app/src/main/res/xml/security_preferences.xml b/app/src/main/res/xml/security_preferences.xml
new file mode 100644
index 00000000..a7174faf
--- /dev/null
+++ b/app/src/main/res/xml/security_preferences.xml
@@ -0,0 +1,8 @@
+<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
+
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="require_auth_to_account_section"
+ app:title="@string/settings_require_authentication_to_go_to_account_section_in_navigation_drawer" />
+
+</PreferenceScreen> \ No newline at end of file