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
|
open val displayName: String
|
||||||
get() {
|
get() {
|
||||||
val productName = productName ?: subAccountNumber
|
return productName ?: subAccountNumber ?: identifier
|
||||||
|
|
||||||
if (productName != null) {
|
|
||||||
return productName + " ($identifier)"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
return identifier
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue