diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/PickMediumDialog.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/PickMediumDialog.kt index 23264db5d..99509354b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/PickMediumDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/PickMediumDialog.kt @@ -40,7 +40,7 @@ class PickMediumDialog(val activity: BaseSimpleActivity, val path: String, val c } activity.getCachedMedia(path) { - val media = it.filter { it is Medium && !it.isVideo() } as ArrayList + val media = it.filter { it is Medium } as ArrayList if (media.isNotEmpty()) { activity.runOnUiThread { gotMedia(media) @@ -48,7 +48,7 @@ class PickMediumDialog(val activity: BaseSimpleActivity, val path: String, val c } } - GetMediaAsynctask(activity, path, true, false, false) { + GetMediaAsynctask(activity, path, false, false, false) { gotMedia(it) }.execute() }