From f76951a070e12780215cf41936bbe3c810118f1a Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 14 May 2017 12:11:38 +0200 Subject: [PATCH] fix deleting items from thumbnails view --- .../com/simplemobiletools/gallery/adapters/MediaAdapter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/MediaAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/MediaAdapter.kt index 636022163..2f4a4ba6c 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/MediaAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/MediaAdapter.kt @@ -207,8 +207,8 @@ class MediaAdapter(val activity: SimpleActivity, var media: MutableList, private fun askConfirmDelete() { ConfirmationDialog(activity) { - actMode?.finish() deleteFiles() + actMode?.finish() } }