From 9e41fa2cac6d5a1fe17fda28e4e5b85e5f93983c Mon Sep 17 00:00:00 2001 From: dankl Date: Tue, 31 Dec 2019 00:44:01 +0100 Subject: [PATCH] Fixed that for unsupported banks whole bank data have been set in on selection --- .../fints4java/android/ui/dialogs/AddAccountDialog.kt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/dialogs/AddAccountDialog.kt b/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/dialogs/AddAccountDialog.kt index 82ca3834..49c0cd8f 100644 --- a/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/dialogs/AddAccountDialog.kt +++ b/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/dialogs/AddAccountDialog.kt @@ -174,15 +174,13 @@ open class AddAccountDialog : DialogFragment() { } protected open fun bankSelected(bank: BankInfo) { - if (bank.supportsFinTs3_0) { - selectedBank = bank + selectedBank = bank - edtxtBankCode.setText(bank.bankCode) + edtxtBankCode.setText(bank.bankCode) - edtxtFinTsServerAddress.setText(bank.pinTanAddress) + edtxtFinTsServerAddress.setText(bank.pinTanAddress) - edtxtBankCode.clearListSelection() - } + edtxtBankCode.clearListSelection() checkIfRequiredDataEnteredOnUiThread() }