Also displaying bank code of selected bank
This commit is contained in:
parent
cccede436d
commit
c4bfb145fa
|
@ -172,7 +172,7 @@ open class AddAccountDialog : DialogFragment() {
|
||||||
|
|
||||||
justDidSelectBank = true
|
justDidSelectBank = true
|
||||||
|
|
||||||
edtxtBank.text = bank.name
|
edtxtBank.text = bank.bankCode + " " + bank.name
|
||||||
|
|
||||||
justDidSelectBank = false
|
justDidSelectBank = false
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ struct AddAccountDialog: View {
|
||||||
NavigationLink(destination: SelectBankDialog($bank)) {
|
NavigationLink(destination: SelectBankDialog($bank)) {
|
||||||
if bank != nil {
|
if bank != nil {
|
||||||
bank.map { bank in
|
bank.map { bank in
|
||||||
Text(bank.name)
|
Text(bank.bankCode + " " + bank.name)
|
||||||
.font(.headline)
|
.font(.headline)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue