Skip to content

Commit d4c8a42

Browse files
committed
fix missing icons on Windows 10 (fix #3642)
1 parent daca943 commit d4c8a42

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

src/UniGetUI.PackageEngine.Managers.WinGet/WinGet.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ public WinGet()
8888
UbisoftConnectSource = new(this, "Ubisoft Connect", IconType.UPlay, LocalWinGetSource.Type_t.Ubisoft);
8989
GOGSource = new(this, "GOG", IconType.GOG, LocalWinGetSource.Type_t.GOG);
9090
MicrosoftStoreSource = new(this, "Microsoft Store", IconType.MsStore, LocalWinGetSource.Type_t.MicrosftStore);
91-
92-
throw new WarningException("");
9391
}
9492

9593
public static string GetProxyArgument()

src/UniGetUI/Controls/LocalIcon.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public static IconType GetIcon(this TextBlock block)
4545

4646
public static string SetGlyph(this TextBlock block, string glyph)
4747
{
48-
symbolFont ??= new FontFamily("Segoe Fluent Icons");
48+
symbolFont ??= new FontFamily("Segoe Fluent Icons,Segoe MDL2 Assets");
4949
block.Text = glyph;
5050
block.FontFamily = symbolFont;
5151
return glyph;

0 commit comments

Comments
 (0)