Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 1 addition & 21 deletions src/Files.Uwp/Helpers/UIHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,27 +104,7 @@ private static async Task<IEnumerable<IconFileInfo>> LoadSidebarIconResources()
Constants.ImageRes.Folder
}, 32);

const string shell32 = @"C:\Windows\System32\shell32.dll";
var shell32List = await UIHelpers.LoadSelectedIconsAsync(shell32, new List<int>() {
Constants.Shell32.QuickAccess
}, 32);

if (shell32List != null && imageResList != null)
{
return imageResList.Concat(shell32List);
}
else if (shell32List != null && imageResList == null)
{
return shell32List;
}
else if (shell32List == null && imageResList != null)
{
return imageResList;
}
else
{
return null;
}
return imageResList;
}
}
}