diff options
author | Stefan Niedermann <info@niedermann.it> | 2021-04-01 15:27:37 +0300 |
---|---|---|
committer | Niedermann IT-Dienstleistungen <stefan-niedermann@users.noreply.github.com> | 2021-04-01 15:29:04 +0300 |
commit | 9c425e291a1f01fc6eb779939eb0e49ee29c6077 (patch) | |
tree | 3a2fc3a026c2773f0a2c65e838843d4b362a525b /app/src/main/res/xml | |
parent | 0003e8babb04dbed5c267b004c8d3fb72eee6858 (diff) |
Fix #1098 Prevent screen capture
Diffstat (limited to 'app/src/main/res/xml')
-rw-r--r-- | app/src/main/res/xml/preferences.xml | 7 |
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> |