From 54595abc1e10d345616aa5f08b498989b26a735e Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 6 Aug 2020 16:16:27 +0200 Subject: [PATCH] Not showing bank name any more when selecting account for transferring money, icon should be in most cases sufficient to see to which bank this account belongs and doesn't use that much space --- .../dankito/banking/ui/android/adapter/BankAccountsAdapter.kt | 2 +- .../ui/javafx/dialogs/cashtransfer/TransferMoneyDialog.kt | 2 +- .../kotlin/net/dankito/banking/ui/model/BankAccount.kt | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/adapter/BankAccountsAdapter.kt b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/adapter/BankAccountsAdapter.kt index 23a724bf..46483671 100644 --- a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/adapter/BankAccountsAdapter.kt +++ b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/adapter/BankAccountsAdapter.kt @@ -22,7 +22,7 @@ open class BankAccountsAdapter(bankAccounts: List) : ListAdapter graphic = ImageView(iconUrl)?.apply { diff --git a/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/model/BankAccount.kt b/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/model/BankAccount.kt index d21b2043..0140a826 100644 --- a/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/model/BankAccount.kt +++ b/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/model/BankAccount.kt @@ -52,9 +52,6 @@ open class BankAccount @JvmOverloads constructor( return identifier } - open val displayNameIncludingBankName: String - get() = "${customer.bankName} ${displayName}" - open fun addBookedTransactions(retrievedBookedTransactions: List) { val uniqueTransactions = this.bookedTransactions.toMutableSet()