Skip to content

Commit 9ed536a

Browse files
authored
Do not load quick access icon (#9265)
1 parent a141e0d commit 9ed536a

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

src/Files.Uwp/Helpers/UIHelpers.cs

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -104,27 +104,7 @@ private static async Task<IEnumerable<IconFileInfo>> LoadSidebarIconResources()
104104
Constants.ImageRes.Folder
105105
}, 32);
106106

107-
const string shell32 = @"C:\Windows\System32\shell32.dll";
108-
var shell32List = await UIHelpers.LoadSelectedIconsAsync(shell32, new List<int>() {
109-
Constants.Shell32.QuickAccess
110-
}, 32);
111-
112-
if (shell32List != null && imageResList != null)
113-
{
114-
return imageResList.Concat(shell32List);
115-
}
116-
else if (shell32List != null && imageResList == null)
117-
{
118-
return shell32List;
119-
}
120-
else if (shell32List == null && imageResList != null)
121-
{
122-
return imageResList;
123-
}
124-
else
125-
{
126-
return null;
127-
}
107+
return imageResList;
128108
}
129109
}
130110
}

0 commit comments

Comments
 (0)