Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stefan-niedermann/nextcloud-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Niedermann <info@niedermann.it>2021-04-01 15:27:37 +0300
committerNiedermann IT-Dienstleistungen <stefan-niedermann@users.noreply.github.com>2021-04-01 15:29:04 +0300
commit9c425e291a1f01fc6eb779939eb0e49ee29c6077 (patch)
tree3a2fc3a026c2773f0a2c65e838843d4b362a525b /app/src/main/res/xml
parent0003e8babb04dbed5c267b004c8d3fb72eee6858 (diff)
Fix #1098 Prevent screen capture
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r--app/src/main/res/xml/preferences.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml
index 5cc08727..087f4ac2 100644
--- a/app/src/main/res/xml/preferences.xml
+++ b/app/src/main/res/xml/preferences.xml
@@ -95,6 +95,13 @@
android:layout="@layout/item_pref"
android:summary="@string/settings_lock_summary"
android:title="@string/settings_lock" />
+
+ <it.niedermann.owncloud.notes.branding.BrandedSwitchPreference
+ android:defaultValue="false"
+ android:icon="@drawable/ic_baseline_screen_lock_portrait_24"
+ android:key="@string/pref_key_prevent_screen_capture"
+ android:layout="@layout/item_pref"
+ android:title="@string/settings_prevent_screen_capture" />
</it.niedermann.owncloud.notes.branding.BrandedPreferenceCategory>
</PreferenceScreen>