Store App lock password hash in shared prefs

Add workflow release.yml
Fix R8 error
This commit is contained in:
BinTianqi
2025-04-13 09:05:05 +08:00
parent 5110536b59
commit a30a9abb3c
17 changed files with 99 additions and 106 deletions

View File

@@ -28,7 +28,7 @@ class ManageSpaceActivity: FragmentActivity() {
setContent {
val theme by vm.theme.collectAsStateWithLifecycle()
OwnDroidTheme(theme) {
var appLockDialog by remember { mutableStateOf(!SharedPrefs(this).lockPassword.isNullOrEmpty()) }
var appLockDialog by remember { mutableStateOf(!SharedPrefs(this).lockPasswordHash.isNullOrEmpty()) }
if(appLockDialog) {
Dialog(::finish) {
AppLockDialog({ appLockDialog = false }, ::finish)