diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsJobExecutor.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsJobExecutor.kt index 8adb74fc..5936ecb4 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsJobExecutor.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsJobExecutor.kt @@ -147,8 +147,6 @@ open class FinTsJobExecutor( getUsersTanMethod(context) { didSelectTanMethod -> if (didSelectTanMethod) { - context.startNewDialog() - initDialogWithStrongCustomerAuthenticationAfterSuccessfulPreconditionChecks(context) { initDialogResponse -> closeDialog(context) @@ -164,9 +162,6 @@ open class FinTsJobExecutor( open fun getAccounts(context: JobContext, callback: (BankResponse) -> Unit) { - - context.startNewDialog(false) - initDialogWithStrongCustomerAuthenticationAfterSuccessfulPreconditionChecks(context) { response -> closeDialog(context) @@ -579,6 +574,8 @@ open class FinTsJobExecutor( protected open fun initDialogWithStrongCustomerAuthenticationAfterSuccessfulPreconditionChecks(context: JobContext, callback: (BankResponse) -> Unit) { + context.startNewDialog(false) // don't know if it's ok for all invocations of this method to set closeDialog to false (was actually only set in getAccounts()) + val message = messageBuilder.createInitDialogMessage(context) getAndHandleResponseForMessage(context, message, callback)