We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 285b111 commit 079091bCopy full SHA for 079091b
src/Files.App/Data/Items/DriveItem.cs
@@ -249,6 +249,9 @@ public async Task LoadThumbnailAsync(bool isSidebar = false)
249
if (!string.IsNullOrEmpty(DeviceID) && !string.Equals(DeviceID, "network-folder"))
250
IconData ??= await FileThumbnailHelper.LoadIconWithoutOverlayAsync(DeviceID, 24);
251
252
+ using var thumbnail = await DriveHelpers.GetThumbnailAsync(Root);
253
+ IconData ??= await thumbnail.ToByteArrayAsync();
254
+
255
IconData ??= UIHelpers.GetSidebarIconResourceInfo(Constants.ImageRes.Folder).IconData;
256
}
257
0 commit comments