fix: Lock finish

This commit is contained in:
J-Jamet
2025-10-27 21:28:29 +01:00
parent 7923a63d36
commit 88a93829a9

View File

@@ -370,9 +370,11 @@ abstract class DatabaseLockActivity : DatabaseModeActivity(),
.setNegativeButton(android.R.string.cancel, null) .setNegativeButton(android.R.string.cancel, null)
.setPositiveButton(R.string.lock) { _, _ -> .setPositiveButton(R.string.lock) { _, _ ->
sendBroadcast(Intent(LOCK_ACTION)) sendBroadcast(Intent(LOCK_ACTION))
finish()
}.create().show() }.create().show()
} else { } else {
sendBroadcast(Intent(LOCK_ACTION)) sendBroadcast(Intent(LOCK_ACTION))
finish()
} }
} }