From d16450d46bb50c0d68f5fae16069e21e8bd0b0ea Mon Sep 17 00:00:00 2001 From: dankito Date: Wed, 23 Sep 2020 03:47:51 +0200 Subject: [PATCH] Stopping execution now only if a severe error occurred during balance retrieval that closed dialog --- .../commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt index cd1a6f64..8a3b844b 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt @@ -363,8 +363,7 @@ open class FinTsClient( } else { mayGetBalance(parameter, dialogContext) { balanceResponse -> - if (balanceResponse.successful == false && balanceResponse.couldCreateMessage == true) { // don't break here if required HKSAL message is not implemented - closeDialog(dialogContext) + if (dialogContext.didBankCloseDialog) { callback(GetTransactionsResponse(balanceResponse, RetrievedAccountData.unsuccessfulList(parameter.account))) } else {