use lowercase paths at deleting folders

This commit is contained in:
tibbi 2016-11-17 15:55:39 +01:00
parent 639c3d57c6
commit db04516773
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ class DirectoryAdapter(val activity: SimpleActivity, val dirs: MutableList<Direc
private fun prepareForDeleting() {
val selections = multiSelector.selectedPositions
val paths = ArrayList<String>()
selections.forEach { paths.add(dirs[it].path) }
selections.forEach { paths.add(dirs[it].path.toLowerCase()) }
listener?.prepareForDeleting(paths)
}