mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 03:39:05 +01:00
MVP of PIN lock feature
This only shows the settings if a screen lock is available. If the setting is activated, it shows a drawer item for locking. Once locked, the screen lock secret needs to be entered to enter the app again. First part of #1247
This commit is contained in:
@@ -26,6 +26,11 @@
|
||||
android:id="@+id/nav_btn_settings"
|
||||
android:icon="@drawable/ic_settings_black_24dp"
|
||||
android:title="@string/settings_button"/>
|
||||
<item
|
||||
android:id="@+id/nav_btn_lock"
|
||||
android:icon="@drawable/startup_lock"
|
||||
android:title="@string/lock_button"
|
||||
android:visible="false"/>
|
||||
<item
|
||||
android:id="@+id/nav_btn_signout"
|
||||
android:icon="@drawable/ic_signout"
|
||||
|
||||
Reference in New Issue
Block a user