Skip to content

Commit d5d263b

Browse files
committed
update property name and use const
1 parent 51ea7ab commit d5d263b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Plugins/Flow.Launcher.Plugin.Program/Programs/UWP.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ public List<Result> ContextMenus(IPublicAPI api)
325325
Action = _ =>
326326
{
327327
Main.StartProcess(Process.Start, new ProcessStartInfo(
328-
!string.IsNullOrEmpty(Main._settings.CustomizedExploere) ? Main._settings.CustomizedExploere:"exploere",
328+
!string.IsNullOrEmpty(Main._settings.CustomizedExplorer) ? Main._settings.CustomizedExplorer:Settings.Explorer,
329329
$"{Main._settings.CustomizedArgs} \"{Package.Location}\"".Trim()));
330330

331331
return true;

Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public List<Result> ContextMenus(IPublicAPI api)
141141
Action = _ =>
142142
{
143143
Main.StartProcess(Process.Start, new ProcessStartInfo(
144-
!string.IsNullOrEmpty(Main._settings.CustomizedExploere) ? Main._settings.CustomizedExploere:"exploere",
144+
!string.IsNullOrEmpty(Main._settings.CustomizedExplorer) ? Main._settings.CustomizedExplorer:Settings.Explorer,
145145
$"{Main._settings.CustomizedArgs} \"{ParentDirectory}\"".Trim()));
146146
return true;
147147
},

Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ private void Setting_Loaded(object sender, RoutedEventArgs e)
4343
StartMenuEnabled.IsChecked = _settings.EnableStartMenuSource;
4444
RegistryEnabled.IsChecked = _settings.EnableRegistrySource;
4545

46-
CustomizeExplorerBox.Text = _settings.CustomizedExploere;
46+
CustomizeExplorerBox.Text = _settings.CustomizedExplorer;
4747
CustomizeArgsBox.Text = _settings.CustomizedArgs;
4848

4949
ViewRefresh();
@@ -332,7 +332,7 @@ private void Row_OnClick(object sender, RoutedEventArgs e)
332332

333333
private void CustomizeExplorer(object sender, TextChangedEventArgs e)
334334
{
335-
_settings.CustomizedExploere = CustomizeExplorerBox.Text;
335+
_settings.CustomizedExplorer = CustomizeExplorerBox.Text;
336336
}
337337

338338
private void CustomizeExplorerArgs(object sender, TextChangedEventArgs e)

0 commit comments

Comments
 (0)