diff --git a/commons/src/main/kotlin/org/fossify/commons/helpers/ContactsHelper.kt b/commons/src/main/kotlin/org/fossify/commons/helpers/ContactsHelper.kt index c2ce8f790..1b3e871bf 100644 --- a/commons/src/main/kotlin/org/fossify/commons/helpers/ContactsHelper.kt +++ b/commons/src/main/kotlin/org/fossify/commons/helpers/ContactsHelper.kt @@ -820,7 +820,7 @@ class ContactsHelper(val context: Context) { val accounts = AccountManager.get(context).accounts accounts.forEach { - if (ContentResolver.getIsSyncable(it, AUTHORITY) == 1) { + if (ContentResolver.getIsSyncable(it, AUTHORITY) != 0) { var publicName = it.name if (it.type == TELEGRAM_PACKAGE) { publicName = context.getString(R.string.telegram)