Not showing identifier in braces anymore, is in almost all cases a useless information and just wastes space. Using identifier only as fallback now.

This commit is contained in:
dankito 2020-08-06 16:31:00 +02:00
parent 0e3582c851
commit 087e596171
1 changed files with 1 additions and 8 deletions

View File

@ -42,14 +42,7 @@ open class BankAccount @JvmOverloads constructor(
open val displayName: String
get() {
val productName = productName ?: subAccountNumber
if (productName != null) {
return productName + " ($identifier)"
}
return identifier
return productName ?: subAccountNumber ?: identifier
}