From c4bfb145fad85068167cc1dbe0a815ed2834feac Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 19 Nov 2020 16:39:18 +0100 Subject: [PATCH] Also displaying bank code of selected bank --- .../net/dankito/banking/ui/android/dialogs/AddAccountDialog.kt | 2 +- .../BankingiOSApp/ui/dialogs/AddAccountDialog.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/dialogs/AddAccountDialog.kt b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/dialogs/AddAccountDialog.kt index d30d28ad..f187e24a 100644 --- a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/dialogs/AddAccountDialog.kt +++ b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/dialogs/AddAccountDialog.kt @@ -172,7 +172,7 @@ open class AddAccountDialog : DialogFragment() { justDidSelectBank = true - edtxtBank.text = bank.name + edtxtBank.text = bank.bankCode + " " + bank.name justDidSelectBank = false diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/AddAccountDialog.swift b/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/AddAccountDialog.swift index 56c2e9ba..d137861e 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/AddAccountDialog.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/AddAccountDialog.swift @@ -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) } }