add storage protection, update guide, enable obfuscate

This commit is contained in:
BinTianqi
2024-05-17 19:09:28 +08:00
parent b8f8d8956a
commit 074b8d919b
7 changed files with 27 additions and 8 deletions

View File

@@ -117,6 +117,11 @@ private fun AuthSettings(){
{ sharedPref.edit().putBoolean("lock_in_background",it).apply() }
)
}
SwitchItem(
R.string.protect_storage, "", null,
{ sharedPref.getBoolean("protect_storage",false) },
{ sharedPref.edit().putBoolean("protect_storage",it).apply() }
)
Box(modifier = Modifier.padding(horizontal = 8.dp)){
Information {
Text(text = stringResource(R.string.auth_on_start))