From e302309fe9f07b0b502320cfb5e247788877d280 Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 29 Nov 2018 21:53:50 +0100 Subject: [PATCH] fix #304, fix exporting contacts on SD cards --- .../com/simplemobiletools/contacts/pro/helpers/VcfExporter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/VcfExporter.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/VcfExporter.kt index 485010a8..0fc41e3b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/VcfExporter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/VcfExporter.kt @@ -152,7 +152,7 @@ class VcfExporter { contactsExported++ } - Ezvcard.write(cards).go(file) + Ezvcard.write(cards).go(it) } catch (e: Exception) { activity.showErrorToast(e) }