simplifying Telegram contact source public name
This commit is contained in:
parent
457a66c4f2
commit
b28571db15
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ class ContactsHelper(val context: Context) {
|
|||
val type = cursor.getStringValue(RawContacts.ACCOUNT_TYPE) ?: ""
|
||||
var publicName = name
|
||||
if (type == TELEGRAM_PACKAGE) {
|
||||
publicName += " (${context.getString(R.string.telegram)})"
|
||||
publicName = context.getString(R.string.telegram)
|
||||
}
|
||||
|
||||
val source = ContactSource(name, type, publicName)
|
||||
|
|
Loading…
Reference in a new issue