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 17d8cd8ff..eca200127 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/DirectoryAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/DirectoryAdapter.kt @@ -178,7 +178,7 @@ class DirectoryAdapter(val activity: SimpleActivity, val dirs: MutableList() - selections.forEach { paths.add(dirs[it].path) } + selections.forEach { paths.add(dirs[it].path.toLowerCase()) } listener?.prepareForDeleting(paths) }