mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
fix exporting contacts on sd cards
This commit is contained in:
@ -374,8 +374,7 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
|
||||
if (contacts.isEmpty()) {
|
||||
toast(R.string.no_entries_for_exporting)
|
||||
} else {
|
||||
toast(R.string.exporting)
|
||||
VcfExporter().exportContacts(this, file, contacts as ArrayList<Contact>) {
|
||||
VcfExporter().exportContacts(this, file, contacts as ArrayList<Contact>, true) {
|
||||
toast(when (it) {
|
||||
VcfExporter.ExportResult.EXPORT_OK -> R.string.exporting_successful
|
||||
VcfExporter.ExportResult.EXPORT_PARTIAL -> R.string.exporting_some_entries_failed
|
||||
|
Reference in New Issue
Block a user