Skip to content

Commit 30aa166

Browse files
authored
Fix: Fixed issue where custom folder icons weren't loading (#14604)
1 parent d76599a commit 30aa166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Utils/Shell/Win32API.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public static (byte[]? icon, byte[]? overlay, bool isIconCached) GetFileIconAndO
280280

281281
if (getIconOnly)
282282
flags |= Shell32.SIIGBF.SIIGBF_ICONONLY;
283-
else
283+
else if (!isFolder)
284284
flags |= Shell32.SIIGBF.SIIGBF_THUMBNAILONLY;
285285

286286
var hres = shellFactory.GetImage(new SIZE(thumbnailSize, thumbnailSize), flags, out var hbitmap);

0 commit comments

Comments
 (0)