File tree 2 files changed +3
-2
lines changed
Exts/Microsoft.CmdPal.Ext.Calc
exts/Microsoft.CmdPal.Ext.Shell
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ public override ICommandResult Invoke()
141
141
internal sealed partial class FallbackCalculatorItem : FallbackCommandItem
142
142
{
143
143
private readonly CopyTextCommand _copyCommand = new ( string . Empty ) ;
144
+ private static readonly IconInfo _cachedIcon = IconHelpers . FromRelativePath ( "Assets\\ Calculator.svg" ) ;
144
145
145
146
public FallbackCalculatorItem ( )
146
147
: base ( new NoOpCommand ( ) , Resources . calculator_title )
@@ -149,7 +150,7 @@ public FallbackCalculatorItem()
149
150
_copyCommand . Name = string . Empty ;
150
151
Title = string . Empty ;
151
152
Subtitle = Resources . calculator_placeholder_text ;
152
- Icon = new IconInfo ( " \ue8ef " ) ; // Calculator
153
+ Icon = _cachedIcon ;
153
154
}
154
155
155
156
public override void UpdateQuery ( string query )
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public FallbackExecuteItem(SettingsManager settings)
20
20
Title = string . Empty ;
21
21
_executeItem . Name = string . Empty ;
22
22
Subtitle = Properties . Resources . generic_run_command ;
23
- Icon = new IconInfo ( " \uE756 " ) ;
23
+ Icon = Icons . RunV2 ; // Defined in Icons.cs and contains the execute command icon.
24
24
}
25
25
26
26
public override void UpdateQuery ( string query )
You can’t perform that action at this time.
0 commit comments