Ignore case when finding existing directory when trying to create a new one

This commit is contained in:
arkon 2023-11-27 09:11:50 -05:00
parent 33b8387dc4
commit 7c257e1c64
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ class AssetFile extends UniFile {
@Override
public UniFile createDirectory(String displayName) {
UniFile file = findFile(displayName);
UniFile file = findFile(displayName, true);
if (file != null && file.isDirectory()) {
return file;
} else {

View File

@ -93,7 +93,7 @@ class TreeDocumentFile extends UniFile {
return null;
}
UniFile child = findFile(displayName);
UniFile child = findFile(displayName, true);
if (child != null) {
if (child.isDirectory()) {