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:
parent
0e3582c851
commit
087e596171
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue