mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 02:11:10 +00:00
Adds unlit color to hidden file system browser dialog elements.
This commit is contained in:
1 parent
3f7cc2c60f
commit
b46dce745b
58 files changed
+855
-360
No files matched your search
+4
-4
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user