append "(Telegram)" after its contact source to make it clearer
This commit is contained in:
parent
ef3a61714a
commit
458b735eb5
|
@ -819,6 +819,9 @@ class ContactsHelper(val activity: Activity) {
|
|||
accounts.forEach {
|
||||
if (ContentResolver.getIsSyncable(it, ContactsContract.AUTHORITY) == 1) {
|
||||
val contactSource = ContactSource(it.name, it.type)
|
||||
if (it.type == TELEGRAM_PACKAGE) {
|
||||
contactSource.name += " (${activity.getString(R.string.telegram)})"
|
||||
}
|
||||
sources.add(contactSource)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
<string name="hangouts">Hangouts</string>
|
||||
<string name="icq">ICQ</string>
|
||||
<string name="jabber">Jabber</string>
|
||||
<string name="telegram">Telegram</string>
|
||||
|
||||
<!-- Release notes -->
|
||||
<string name="release_32">Added a simple dialpad, dialer will come soon</string>
|
||||
|
|
Loading…
Reference in New Issue