Also displaying bank code of selected bank

This commit is contained in:
dankito 2020-11-19 16:39:18 +01:00
parent cccede436d
commit c4bfb145fa
2 changed files with 2 additions and 2 deletions

View File

@ -172,7 +172,7 @@ open class AddAccountDialog : DialogFragment() {
justDidSelectBank = true
edtxtBank.text = bank.name
edtxtBank.text = bank.bankCode + " " + bank.name
justDidSelectBank = false

View File

@ -29,7 +29,7 @@ struct AddAccountDialog: View {
NavigationLink(destination: SelectBankDialog($bank)) {
if bank != nil {
bank.map { bank in
Text(bank.name)
Text(bank.bankCode + " " + bank.name)
.font(.headline)
}
}