Fixed that for unsupported banks whole bank data have been set in on selection

This commit is contained in:
dankl 2019-12-31 00:44:01 +01:00 committed by dankito
parent 579250fdb8
commit 9e41fa2cac
1 changed files with 4 additions and 6 deletions

View File

@ -174,7 +174,6 @@ open class AddAccountDialog : DialogFragment() {
} }
protected open fun bankSelected(bank: BankInfo) { protected open fun bankSelected(bank: BankInfo) {
if (bank.supportsFinTs3_0) {
selectedBank = bank selectedBank = bank
edtxtBankCode.setText(bank.bankCode) edtxtBankCode.setText(bank.bankCode)
@ -182,7 +181,6 @@ open class AddAccountDialog : DialogFragment() {
edtxtFinTsServerAddress.setText(bank.pinTanAddress) edtxtFinTsServerAddress.setText(bank.pinTanAddress)
edtxtBankCode.clearListSelection() edtxtBankCode.clearListSelection()
}
checkIfRequiredDataEnteredOnUiThread() checkIfRequiredDataEnteredOnUiThread()
} }