Disable screen lock setting instead of hiding it when not available

This commit is contained in:
Torsten Grote
2018-08-01 12:23:20 -03:00
parent fc86319e13
commit 90cb9a2fae
3 changed files with 10 additions and 8 deletions

View File

@@ -452,5 +452,6 @@
<string name="lock_unlock">Unlock Briar</string>
<string name="lock_is_locked">Briar is locked</string>
<string name="lock_tap_to_unlock">Tap to unlock</string>
<string name="lock_disabled">Only available on Android 5 or newer and when a system screen lock is set</string>
</resources>

View File

@@ -61,7 +61,7 @@
android:persistent="false"
android:summary="@string/pref_lock_summary"
android:title="@string/pref_lock_title"
android:visibility="gone"/>
android:enabled="false"/>
<Preference
android:key="pref_key_change_password"