Implemented that TransferMoneyDialog stays open if an error occurs

This commit is contained in:
dankito 2020-05-12 19:57:22 +02:00
parent 8b9744d81b
commit 3b41f41cf3
1 changed files with 3 additions and 1 deletions

View File

@ -252,9 +252,11 @@ open class TransferMoneyDialog : DialogFragment() {
.show() .show()
} }
if (response.isSuccessful || response.userCancelledAction) {
this.dismiss() this.dismiss()
} }
} }
}
protected fun checkRequiredDataWatcher(additionalCheck: (() -> Unit)? = null): TextWatcher { protected fun checkRequiredDataWatcher(additionalCheck: (() -> Unit)? = null): TextWatcher {