We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0ad866 commit c8dba03Copy full SHA for c8dba03
app/src/main/kotlin/com/simplemobiletools/contacts/helpers/ContactsHelper.kt
@@ -698,7 +698,9 @@ class ContactsHelper(val activity: Activity) {
698
}
699
700
701
- val contentResolverAccounts = getContentResolverAccounts().filter { !accounts.contains(Account(it.name, it.type)) }
+ val contentResolverAccounts = getContentResolverAccounts().filter {
702
+ it.name.isNotEmpty() && it.type.isNotEmpty() && !accounts.contains(Account(it.name, it.type))
703
+ }
704
sources.addAll(contentResolverAccounts)
705
706
if (sources.isEmpty() && activity.config.localAccountName.isEmpty() && activity.config.localAccountType.isEmpty()) {
0 commit comments