From b28571db15637f54363341a5cfb24b8487124c47 Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 27 Oct 2020 17:04:33 +0100 Subject: [PATCH] simplifying Telegram contact source public name --- .../simplemobiletools/contacts/pro/helpers/ContactsHelper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/ContactsHelper.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/ContactsHelper.kt index 91f5e697..b771c496 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/ContactsHelper.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/ContactsHelper.kt @@ -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)