mirror of
https://github.com/awfixers-stuff/OwnDroid.git
synced 2026-03-23 19:15:58 +00:00
add a option to lock OwnDroid when it is switched to background
This commit is contained in:
@@ -111,6 +111,11 @@ private fun AuthSettings(){
|
||||
{ sharedPref.getBoolean("bio_auth",false) },
|
||||
{ sharedPref.edit().putBoolean("bio_auth",it).apply() }
|
||||
)
|
||||
SwitchItem(
|
||||
R.string.lock_in_background, "", null,
|
||||
{ sharedPref.getBoolean("lock_in_background",false) },
|
||||
{ sharedPref.edit().putBoolean("lock_in_background",it).apply() }
|
||||
)
|
||||
}
|
||||
Box(modifier = Modifier.padding(horizontal = 8.dp)){
|
||||
Information {
|
||||
|
||||
Reference in New Issue
Block a user