diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/DirectoryAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/DirectoryAdapter.kt index e0c29ebb4..48d8e64d8 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/DirectoryAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/DirectoryAdapter.kt @@ -294,6 +294,7 @@ class DirectoryAdapter(val activity: SimpleActivity, val dirs: MutableList, media.removeAll(removeMedia) markedItems.clear() listener?.deleteFiles(files) + itemCnt = media.size } }