summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'org.fox.ttrss/src/main/res')
-rwxr-xr-xorg.fox.ttrss/src/main/res/values/strings.xml2
-rwxr-xr-xorg.fox.ttrss/src/main/res/xml/preferences.xml6
2 files changed, 8 insertions, 0 deletions
diff --git a/org.fox.ttrss/src/main/res/values/strings.xml b/org.fox.ttrss/src/main/res/values/strings.xml
index 3b49d1ae..6f34b705 100755
--- a/org.fox.ttrss/src/main/res/values/strings.xml
+++ b/org.fox.ttrss/src/main/res/values/strings.xml
@@ -306,4 +306,6 @@
<string name="error_success">Operation completed successfully</string>
<string name="error_bad_request">Error: 400 bad request</string>
<string name="headlines_set_display_mode">Set display mode</string>
+ <string name="window_secure_mode_summary">Disables screenshots and hides window contents on non-secure displays</string>
+ <string name="window_secure_mode">Secure window mode</string>
</resources>
diff --git a/org.fox.ttrss/src/main/res/xml/preferences.xml b/org.fox.ttrss/src/main/res/xml/preferences.xml
index 33095c5f..9e1f6642 100755
--- a/org.fox.ttrss/src/main/res/xml/preferences.xml
+++ b/org.fox.ttrss/src/main/res/xml/preferences.xml
@@ -67,6 +67,12 @@
android:key="force_phone_layout"
android:summary="@string/force_phone_layout_summary"
android:title="@string/force_phone_layout" />
+
+ <SwitchPreferenceCompat
+ android:defaultValue="false"
+ android:key="window_secure_mode"
+ android:summary="@string/window_secure_mode_summary"
+ android:title="@string/window_secure_mode" />
</PreferenceCategory>
<PreferenceCategory