mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +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:
@@ -42,10 +42,10 @@ internal sealed class AvailableResult
|
||||
{
|
||||
return IconType switch
|
||||
{
|
||||
ResultIconType.Time => ResultHelper.TimeIcon,
|
||||
ResultIconType.Date => ResultHelper.CalendarIcon,
|
||||
ResultIconType.DateTime => ResultHelper.TimeDateIcon,
|
||||
ResultIconType.Error => ResultHelper.ErrorIcon,
|
||||
ResultIconType.Time => Icons.TimeIcon,
|
||||
ResultIconType.Date => Icons.CalendarIcon,
|
||||
ResultIconType.DateTime => Icons.TimeDateIcon,
|
||||
ResultIconType.Error => Icons.ErrorIcon,
|
||||
_ => null,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user