aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-08-11 13:00:57 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-08-11 13:00:57 +0000
commita288c70c5916a67c770b3a6ba2e1809000aa58eb (patch)
tree95dfbe6eb2cefa92190a76aa1a8eb0e6a1983c38 /app/src/main/res
parent31a7c2be3ad39cdeba88515cb7343810f84db249 (diff)
downloadinfinity-for-reddit-a288c70c5916a67c770b3a6ba2e1809000aa58eb.tar
infinity-for-reddit-a288c70c5916a67c770b3a6ba2e1809000aa58eb.tar.gz
infinity-for-reddit-a288c70c5916a67c770b3a6ba2e1809000aa58eb.tar.bz2
infinity-for-reddit-a288c70c5916a67c770b3a6ba2e1809000aa58eb.tar.lz
infinity-for-reddit-a288c70c5916a67c770b3a6ba2e1809000aa58eb.tar.xz
infinity-for-reddit-a288c70c5916a67c770b3a6ba2e1809000aa58eb.tar.zst
infinity-for-reddit-a288c70c5916a67c770b3a6ba2e1809000aa58eb.zip
Secure mode is available.
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/security_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 847457e2..f0fba961 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -593,6 +593,8 @@
<string name="settings_separate_post_and_comments_in_portrait_mode">Separate Post And Comments in Portrait Mode</string>
<string name="settings_separate_post_and_comments_in_landscape_mode">Separate Post And Comments in Landscape Mode</string>
<string name="settings_use_bottom_toolbar_in_media_viewer_title">Use Bottom Toolbar in Media Viewer</string>
+ <string name="settings_secure_mode_title">Secure Mode</string>
+ <string name="settings_secure_mode_summary">Screenshot and video recording are not allowed. No preview in recent app screen.</string>
<string name="no_link_available">Cannot get the link</string>
diff --git a/app/src/main/res/xml/security_preferences.xml b/app/src/main/res/xml/security_preferences.xml
index d43c2384..636f1798 100644
--- a/app/src/main/res/xml/security_preferences.xml
+++ b/app/src/main/res/xml/security_preferences.xml
@@ -5,4 +5,10 @@
app:key="require_auth_to_account_section"
app:title="@string/settings_require_authentication_to_go_to_account_section_in_navigation_drawer_title" />
+ <SwitchPreference
+ app:defaultValue="false"
+ app:key="secure_mode"
+ app:title="@string/settings_secure_mode_title"
+ app:summary="@string/settings_secure_mode_summary" />
+
</PreferenceScreen> \ No newline at end of file