Use target type ctors

This commit is contained in:
Jiří Polášek
2026-02-12 19:10:20 +01:00
parent 4faceef297
commit 795adb668f

View File

@@ -10,11 +10,11 @@ internal static class Icons
{
internal static IconInfo WindowWalkerIcon { get; } = IconHelpers.FromRelativePath("Assets\\WindowWalker.svg");
internal static IconInfo EndTask { get; } = new IconInfo("\uF140"); // StatusCircleBlock
internal static IconInfo EndTask { get; } = new("\uF140"); // StatusCircleBlock
internal static IconInfo CloseWindow { get; } = new IconInfo("\uE894"); // Clear
internal static IconInfo CloseWindow { get; } = new("\uE894"); // Clear
internal static IconInfo Info { get; } = new IconInfo("\uE946"); // Info
internal static IconInfo Info { get; } = new("\uE946"); // Info
internal static IconInfo GenericAppIcon { get; } = new("\uE737"); // Favicon
}