diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2025-05-18 16:17:33 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2025-05-18 16:17:33 +0300 |
| commit | 48e84b1987573fcff92b69ba4cd9d154a27e1971 (patch) | |
| tree | ad1f16a55cfa6aa09b3142e3a0ba8f447fd8a6ba /org.fox.ttrss/src/main/res | |
| parent | 6a4940666a05191210dbf5732baa53ca5f94e2af (diff) | |
add option to enable secure window mode
Diffstat (limited to 'org.fox.ttrss/src/main/res')
| -rwxr-xr-x | org.fox.ttrss/src/main/res/values/strings.xml | 2 | ||||
| -rwxr-xr-x | org.fox.ttrss/src/main/res/xml/preferences.xml | 6 |
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 |