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
|
val newImageCnt = directory.mediaCnt + 1
|
||||||
directory.mediaCnt = newImageCnt
|
directory.mediaCnt = newImageCnt
|
||||||
directory.addSize(file.length())
|
directory.addSize(file.length())
|
||||||
} else if (!mToBeDeleted.contains(parentDir)) {
|
} else if (!mToBeDeleted.contains(parentDir.toLowerCase())) {
|
||||||
var dirName = Utils.getFilename(context, parentDir)
|
var dirName = Utils.getFilename(context, parentDir)
|
||||||
if (mConfig.getIsFolderHidden(parentDir)) {
|
if (mConfig.getIsFolderHidden(parentDir)) {
|
||||||
dirName += " ${context.resources.getString(R.string.hidden)}"
|
dirName += " ${context.resources.getString(R.string.hidden)}"
|
||||||
|
|
Loading…
Reference in a new issue