From db045167735eee78eb7d7b72c4139f06ec036c4c Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 17 Nov 2016 15:55:39 +0100 Subject: [PATCH] use lowercase paths at deleting folders --- .../com/simplemobiletools/gallery/adapters/DirectoryAdapter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }