Stopping execution now only if a severe error occurred during balance retrieval that closed dialog

This commit is contained in:
dankito 2020-09-23 03:47:51 +02:00
parent c7d6718cce
commit d16450d46b
1 changed files with 1 additions and 2 deletions

View File

@ -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 {