mirror of
https://github.com/etesync/android
synced 2025-01-10 15:51:08 +00:00
Cleanup how we create address book names.
This commit is contained in:
parent
9bfeb0c347
commit
52dcd459d9
@ -140,13 +140,7 @@ class LocalAddressBook(
|
||||
val col = cachedCollection.col
|
||||
val meta = cachedCollection.meta
|
||||
val displayName = meta.name
|
||||
val sb = StringBuilder(displayName)
|
||||
sb.append(" (")
|
||||
.append(mainAccount.name)
|
||||
.append(" ")
|
||||
.append(col.uid.substring(0, 4))
|
||||
.append(")")
|
||||
return sb.toString()
|
||||
return "${displayName} (${mainAccount.name} ${col.uid.substring(0, 2)})"
|
||||
}
|
||||
|
||||
fun initialUserData(mainAccount: Account, url: String): Bundle {
|
||||
|
Loading…
Reference in New Issue
Block a user