mirror of
https://github.com/etesync/android
synced 2025-01-11 00:01:12 +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 col = cachedCollection.col
|
||||||
val meta = cachedCollection.meta
|
val meta = cachedCollection.meta
|
||||||
val displayName = meta.name
|
val displayName = meta.name
|
||||||
val sb = StringBuilder(displayName)
|
return "${displayName} (${mainAccount.name} ${col.uid.substring(0, 2)})"
|
||||||
sb.append(" (")
|
|
||||||
.append(mainAccount.name)
|
|
||||||
.append(" ")
|
|
||||||
.append(col.uid.substring(0, 4))
|
|
||||||
.append(")")
|
|
||||||
return sb.toString()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun initialUserData(mainAccount: Account, url: String): Bundle {
|
fun initialUserData(mainAccount: Account, url: String): Bundle {
|
||||||
|
Loading…
Reference in New Issue
Block a user