updating commons and gradle

This commit is contained in:
tibbi
2019-11-22 17:54:08 +01:00
parent 79c4053e72
commit 3198e19bc6
3 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@ android {
}
dependencies {
implementation 'com.simplemobiletools:commons:5.18.14'
implementation 'com.simplemobiletools:commons:5.19.15'
implementation 'joda-time:joda-time:2.10.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta3'
implementation 'com.googlecode.ez-vcard:ez-vcard:0.10.5'

View File

@ -30,7 +30,7 @@ class VcfExporter {
private var contactsFailed = 0
fun exportContacts(activity: BaseSimpleActivity, file: File, contacts: ArrayList<Contact>, showExportingToast: Boolean, callback: (result: ExportResult) -> Unit) {
activity.getFileOutputStream(file.toFileDirItem(), true) {
activity.getFileOutputStream(file.toFileDirItem(activity), true) {
try {
if (it == null) {
callback(EXPORT_FAIL)