From 3b41f41cf339fe8f3aceecfd9e0ed1c7b0111e3c Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 12 May 2020 19:57:22 +0200 Subject: [PATCH] Implemented that TransferMoneyDialog stays open if an error occurs --- .../fints4java/android/ui/dialogs/TransferMoneyDialog.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/dialogs/TransferMoneyDialog.kt b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/dialogs/TransferMoneyDialog.kt index 815c417b..eba765c1 100644 --- a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/dialogs/TransferMoneyDialog.kt +++ b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/dialogs/TransferMoneyDialog.kt @@ -252,7 +252,9 @@ open class TransferMoneyDialog : DialogFragment() { .show() } - this.dismiss() + if (response.isSuccessful || response.userCancelledAction) { + this.dismiss() + } } }