From 89b454bb6c3fb03851f9813dbdc24a7436fe5f9f Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Sun, 6 Jul 2025 20:29:19 +0800 Subject: [PATCH] Fix typos --- Flow.Launcher.Core/Plugin/PluginManager.cs | 4 ++-- Flow.Launcher.Plugin/Interfaces/IPluginHotkey.cs | 2 +- Plugins/Flow.Launcher.Plugin.Explorer/Main.cs | 2 +- Plugins/Flow.Launcher.Plugin.PluginsManager/Main.cs | 2 +- Plugins/Flow.Launcher.Plugin.Program/Main.cs | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Flow.Launcher.Core/Plugin/PluginManager.cs b/Flow.Launcher.Core/Plugin/PluginManager.cs index 231a477f0..6f8a55dc2 100644 --- a/Flow.Launcher.Core/Plugin/PluginManager.cs +++ b/Flow.Launcher.Core/Plugin/PluginManager.cs @@ -497,7 +497,7 @@ namespace Flow.Launcher.Core.Plugin { foreach (var plugin in GetHotkeyPlugins()) { - var newHotkeys = ((IPluginHotkey)plugin.Plugin).GetPuginHotkeys(); + var newHotkeys = ((IPluginHotkey)plugin.Plugin).GetPluginHotkeys(); if (_pluginHotkeyInfo.TryGetValue(plugin, out var oldHotkeys)) { foreach (var newHotkey in newHotkeys) @@ -524,7 +524,7 @@ namespace Flow.Launcher.Core.Plugin { foreach (var plugin in GetHotkeyPlugins()) { - var hotkeys = ((IPluginHotkey)plugin.Plugin).GetPuginHotkeys(); + var hotkeys = ((IPluginHotkey)plugin.Plugin).GetPluginHotkeys(); _pluginHotkeyInfo.Add(plugin, hotkeys); } } diff --git a/Flow.Launcher.Plugin/Interfaces/IPluginHotkey.cs b/Flow.Launcher.Plugin/Interfaces/IPluginHotkey.cs index a075c4619..34ee2f1bc 100644 --- a/Flow.Launcher.Plugin/Interfaces/IPluginHotkey.cs +++ b/Flow.Launcher.Plugin/Interfaces/IPluginHotkey.cs @@ -11,6 +11,6 @@ namespace Flow.Launcher.Plugin /// Get the list of plugin hotkeys which will be registered in the settings page. /// /// - List GetPuginHotkeys(); + List GetPluginHotkeys(); } } diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Main.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Main.cs index 9b1882cb3..136de3c5e 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Main.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Main.cs @@ -112,7 +112,7 @@ namespace Flow.Launcher.Plugin.Explorer } } - public List GetPuginHotkeys() + public List GetPluginHotkeys() { return new List { diff --git a/Plugins/Flow.Launcher.Plugin.PluginsManager/Main.cs b/Plugins/Flow.Launcher.Plugin.PluginsManager/Main.cs index 2b915bd57..4a53c4e85 100644 --- a/Plugins/Flow.Launcher.Plugin.PluginsManager/Main.cs +++ b/Plugins/Flow.Launcher.Plugin.PluginsManager/Main.cs @@ -70,7 +70,7 @@ namespace Flow.Launcher.Plugin.PluginsManager return Context.API.GetTranslation("plugin_pluginsmanager_plugin_description"); } - public List GetPuginHotkeys() + public List GetPluginHotkeys() { return new List { diff --git a/Plugins/Flow.Launcher.Plugin.Program/Main.cs b/Plugins/Flow.Launcher.Plugin.Program/Main.cs index 2dee3d8b5..bf4d833e0 100644 --- a/Plugins/Flow.Launcher.Plugin.Program/Main.cs +++ b/Plugins/Flow.Launcher.Plugin.Program/Main.cs @@ -460,7 +460,7 @@ namespace Flow.Launcher.Plugin.Program Win32.Dispose(); } - public List GetPuginHotkeys() + public List GetPluginHotkeys() { return new List {