Adds unlit color to hidden file system browser dialog elements.

This commit is contained in:
BinaryAlley committed 2026-11-15 13:53:23 +02:00
1 parent 3f7cc2c60f
commit b46dce745b
58 files changed
+855 -360

No files matched your search

@@ -26,10 +26,10 @@ public static class DirectoryMapping
Name = domainEntity.Name,
Path = domainEntity.Id.Path,
ItemType = domainEntity.Type,
IsHidden = domainEntity.IsHidden,
IsExpanded = false,
ChildrenLoaded = false,
Children = domainEntity.Items.Select(item => item.ToTreeNodeResponse())
.ToList()
Children = [.. domainEntity.Items.Select(item => item.ToTreeNodeResponse())]
};
}
@@ -55,8 +55,8 @@ public static class DirectoryMapping
domainEntity.Name,
domainEntity.DateCreated.Value,
domainEntity.DateModified.Value,
domainEntity.Items.Select(fileSystemItem => fileSystemItem.ToFileSystemItemDto())
.ToList()
[.. domainEntity.Items.Select(fileSystemItem => fileSystemItem.ToFileSystemItemDto())],
domainEntity.IsHidden
);
}
@@ -28,7 +28,8 @@ public static class FileSystemItemMapping
domainEntity.Id.Path,
domainEntity.Name,
DateTime.Now,
DateTime.Now
DateTime.Now,
domainEntity.IsHidden
);
}
@@ -25,6 +25,7 @@ public static class FileMapping
Name = domainEntity.Name,
Path = domainEntity.Id.Path,
ItemType = domainEntity.Type,
IsHidden = domainEntity.IsHidden,
IsExpanded = false,
ChildrenLoaded = false
};
@@ -52,7 +53,8 @@ public static class FileMapping
domainEntity.Name,
domainEntity.DateCreated.HasValue ? domainEntity.DateCreated.Value : default,
domainEntity.DateModified.HasValue ? domainEntity.DateModified.Value : default,
domainEntity.Size
domainEntity.Size,
domainEntity.IsHidden
);
}