mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 14:37:59 +01:00
be incasesensitive when comparing directory paths
This commit is contained in:
parent
c480dd23ff
commit
ed2f9117bb
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ class GetDirectoriesAsynctask(val context: Context, val isPickVideo: Boolean, va
|
|||
val newImageCnt = directory.mediaCnt + 1
|
||||
directory.mediaCnt = newImageCnt
|
||||
directory.addSize(file.length())
|
||||
} else if (!mToBeDeleted.contains(parentDir)) {
|
||||
} else if (!mToBeDeleted.contains(parentDir.toLowerCase())) {
|
||||
var dirName = Utils.getFilename(context, parentDir)
|
||||
if (mConfig.getIsFolderHidden(parentDir)) {
|
||||
dirName += " ${context.resources.getString(R.string.hidden)}"
|
||||
|
|
Loading…
Reference in a new issue