mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +02:00
Standardizing built-in extension icon handling (#40606)
Just standardizing built-in extensions to use a `internal sealed class Icons` for all their non-dynamic icons. Looks like a LOT of changes, but it's icons all the way down.
This commit is contained in:
@@ -15,7 +15,7 @@ public partial class WinGetExtensionCommandsProvider : CommandProvider
|
||||
{
|
||||
DisplayName = Properties.Resources.winget_display_name;
|
||||
Id = "WinGet";
|
||||
Icon = WinGetExtensionPage.WinGetIcon;
|
||||
Icon = Icons.WinGetIcon;
|
||||
|
||||
_ = WinGetStatics.Manager;
|
||||
}
|
||||
@@ -34,7 +34,7 @@ public partial class WinGetExtensionCommandsProvider : CommandProvider
|
||||
new OpenUrlCommand("ms-windows-store://assoc/?Tags=AppExtension-com.microsoft.commandpalette"))
|
||||
{
|
||||
Title = Properties.Resources.winget_search_store_title,
|
||||
Icon = IconHelpers.FromRelativePaths("Assets\\Store.light.svg", "Assets\\Store.dark.svg"),
|
||||
Icon = Icons.StoreIcon,
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user