Skip to content

Commit f9e8f75

Browse files
authored
Fix: Fixed issue where icons and names of library items were not displayed (#12480)
1 parent 6186c2d commit f9e8f75

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Files.App/Filesystem/StorageEnumerators/UniversalStorageEnumerator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ CancellationToken cancellationToken
258258
{
259259
return new LibraryItem(library)
260260
{
261+
Opacity = 1,
261262
ItemDateModifiedReal = itemModifiedDate,
262263
ItemDateCreatedReal = itemCreatedDate,
263264
};

src/Files.App/Filesystem/StorageEnumerators/Win32StorageEnumerator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ CancellationToken cancellationToken
340340
{
341341
return new LibraryItem(library)
342342
{
343+
Opacity = opacity,
343344
ItemDateModifiedReal = itemModifiedDate,
344345
ItemDateCreatedReal = itemCreatedDate,
345346
};

0 commit comments

Comments
 (0)