From 13fcdc60fa2a2a11a543306817de8ed416d64fbf Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Thu, 20 Mar 2025 18:11:53 +0800 Subject: [PATCH] Fix typo 'seperator' --- .../Plugin/JsonRPCPluginSettings.cs | 6 +++--- .../Resources/CustomControlTemplate.xaml | 2 +- Plugins/Flow.Launcher.Plugin.Calculator/Main.cs | 16 ++++++++-------- .../Views/ExplorerSettings.xaml | 12 ++++++------ .../Views/ProgramSetting.xaml | 4 ++-- .../SettingsControl.xaml | 2 +- 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs b/Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs index 5cb8f6097..5b0c9f079 100644 --- a/Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs +++ b/Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs @@ -448,7 +448,7 @@ namespace Flow.Launcher.Core.Plugin { var sep = new Separator(); - sep.SetResourceReference(Separator.StyleProperty, "SettingPanelSeperatorStyle"); + sep.SetResourceReference(Separator.StyleProperty, "SettingPanelSeparatorStyle"); contentControl = sep; @@ -458,7 +458,7 @@ namespace Flow.Launcher.Core.Plugin continue; } - // If type is textBlock or seperator, we just add the content control to the main grid + // If type is textBlock or separator, we just add the content control to the main grid if (panel == null) { // Add the content control to the column 0, row rowCount and columnSpan 2 of the main grid @@ -498,7 +498,7 @@ namespace Flow.Launcher.Core.Plugin private static bool NeedSaveInSettings(string type) { - return type != "textBlock" && type != "seperator" && type != "hyperlink"; + return type != "textBlock" && type != "separator" && type != "hyperlink"; } } } diff --git a/Flow.Launcher/Resources/CustomControlTemplate.xaml b/Flow.Launcher/Resources/CustomControlTemplate.xaml index eadd23bcd..aeb8f872f 100644 --- a/Flow.Launcher/Resources/CustomControlTemplate.xaml +++ b/Flow.Launcher/Resources/CustomControlTemplate.xaml @@ -5596,7 +5596,7 @@ 9,4.5,0,4.5 0,4.5,9,4.5 -