Skip to content

Commit cdb1245

Browse files
authored
Updating icons. (#1076)
Adding support for icon aliases Updated resource generator to handle different versions of TLS Updated demo app to only show distinct enum values.
1 parent 8567c14 commit cdb1245

File tree

8 files changed

+2687
-58
lines changed

8 files changed

+2687
-58
lines changed

MainDemo.Wpf/IconPackViewModel.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ public IconPackViewModel(ISnackbarMessageQueue snackbarMessageQueue)
2424
SearchCommand = new AnotherCommandImplementation(Search);
2525
CopyToClipboardCommand = new AnotherCommandImplementation(CopyToClipboard);
2626
_packIconKinds = new Lazy<IEnumerable<PackIconKind>>(() =>
27-
Enum.GetValues(typeof (PackIconKind)).OfType<PackIconKind>()
27+
Enum.GetValues(typeof (PackIconKind))
28+
.OfType<PackIconKind>()
29+
.Distinct()
2830
.OrderBy(k => k.ToString(), StringComparer.InvariantCultureIgnoreCase).ToList()
2931
);
3032
}

MaterialDesignThemes.Wpf/PackIconDataFactory.cs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)