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

@@ -19,14 +19,16 @@ public class FileSystemItemDtoFixture
/// <summary>
/// Creates a random valid <see cref="FileSystemItemDto"/>.
/// </summary>
/// <param name="isHidden">Optional. Whether the file system item is hidden. If not provided, a random value is generated.</param>
/// <returns>The created <see cref="FileSystemItemDto"/>.</returns>
public FileSystemItemDto Create()
public FileSystemItemDto Create(bool? isHidden = null)
{
return new FileSystemItemDto(
_faker.System.FilePath(),
_faker.System.FileName(),
_faker.Date.Past(),
_faker.Date.Recent()
_faker.Date.Recent(),
isHidden ?? _faker.Random.Bool()
);
}