From 02078002594e5f9a1de7f846e38a8b98d26fcd47 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 27 Jan 2019 18:12:06 +0100 Subject: [PATCH] update commons to 5.6.18 --- app/build.gradle | 2 +- .../simplemobiletools/gallery/pro/adapters/MediaAdapter.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 61fd69460..3b30f0b37 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -61,7 +61,7 @@ android { } dependencies { - implementation 'com.simplemobiletools:commons:5.6.14' + implementation 'com.simplemobiletools:commons:5.6.18' implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0' implementation 'androidx.multidex:multidex:2.0.1' implementation 'it.sephiroth.android.exif:library:1.0.1' diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/MediaAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/MediaAdapter.kt index 100d3c5bd..183ad56c7 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/MediaAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/MediaAdapter.kt @@ -375,7 +375,7 @@ class MediaAdapter(activity: BaseSimpleActivity, var media: MutableList(selectedKeys.size) val removeMedia = ArrayList(selectedKeys.size) - val position = getSelectedItemPositions() + val positions = getSelectedItemPositions() getSelectedItems().forEach { fileDirItems.add(FileDirItem(it.path, it.name)) @@ -384,7 +384,7 @@ class MediaAdapter(activity: BaseSimpleActivity, var media: MutableList