mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
make fetching some fields optional, used only at exporting
This commit is contained in:
@ -358,7 +358,7 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
|
||||
FilePickerDialog(this, pickFile = false, showFAB = true) {
|
||||
ExportContactsDialog(this, it) { file, contactSources ->
|
||||
Thread {
|
||||
ContactsHelper(this).getContacts {
|
||||
ContactsHelper(this).getContacts(true) {
|
||||
val contacts = it.filter { contactSources.contains(it.source) }
|
||||
if (contacts.isEmpty()) {
|
||||
toast(R.string.no_entries_for_exporting)
|
||||
|
Reference in New Issue
Block a user