Fixed that previous dialog's chunkedResponseHandler hasn't been set on next dialog (is important when retrieving transactions and user chose to change TAN method or -media)

This commit is contained in:
dankito 2021-11-21 18:40:17 +01:00
parent c9884a380e
commit 3c096d655f
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ open class JobContext(
open fun startNewDialog(closeDialog: Boolean = true, dialogId: String = DialogContext.InitialDialogId,
versionOfSecurityProcedure: VersionDesSicherheitsverfahrens = VersionDesSicherheitsverfahrens.Version_2,
chunkedResponseHandler: ((BankResponse) -> Unit)? = null) : DialogContext {
chunkedResponseHandler: ((BankResponse) -> Unit)? = dialog.chunkedResponseHandler) : DialogContext {
val newDialogContext = DialogContext(closeDialog, dialogId, chunkedResponseHandler)