mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
fix: Registration callback
This commit is contained in:
@@ -152,7 +152,7 @@ object EntrySelectionHelper {
|
||||
if (activityResultLauncher == null) {
|
||||
intent.flags = intent.flags or Intent.FLAG_ACTIVITY_CLEAR_TASK
|
||||
}
|
||||
context?.startActivity(intent) ?: activityResultLauncher?.launch(intent) ?:
|
||||
activityResultLauncher?.launch(intent) ?: context?.startActivity(intent) ?:
|
||||
throw IllegalStateException("At least Context or ActivityResultLauncher must not be null")
|
||||
}
|
||||
|
||||
|
||||
@@ -282,7 +282,7 @@ class PasskeyLauncherActivity : DatabaseModeActivity() {
|
||||
searchInfo = searchInfo,
|
||||
onItemsFound = { openedDatabase, _ ->
|
||||
Log.w(TAG, "Passkey found for registration, " +
|
||||
"but launch manual registration for overwrite")
|
||||
"but launch manual registration for a new entry")
|
||||
GroupActivity.launchForRegistration(
|
||||
context = this,
|
||||
activityResultLauncher = mPasskeyRegistrationActivityResultLauncher,
|
||||
|
||||
Reference in New Issue
Block a user