Fix typos

This commit is contained in:
Jack251970 2025-07-06 20:29:19 +08:00
parent 9b92061807
commit 89b454bb6c
5 changed files with 6 additions and 6 deletions

View file

@ -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);
}
}

View file

@ -11,6 +11,6 @@ namespace Flow.Launcher.Plugin
/// Get the list of plugin hotkeys which will be registered in the settings page.
/// </summary>
/// <returns></returns>
List<BasePluginHotkey> GetPuginHotkeys();
List<BasePluginHotkey> GetPluginHotkeys();
}
}

View file

@ -112,7 +112,7 @@ namespace Flow.Launcher.Plugin.Explorer
}
}
public List<BasePluginHotkey> GetPuginHotkeys()
public List<BasePluginHotkey> GetPluginHotkeys()
{
return new List<BasePluginHotkey>
{

View file

@ -70,7 +70,7 @@ namespace Flow.Launcher.Plugin.PluginsManager
return Context.API.GetTranslation("plugin_pluginsmanager_plugin_description");
}
public List<BasePluginHotkey> GetPuginHotkeys()
public List<BasePluginHotkey> GetPluginHotkeys()
{
return new List<BasePluginHotkey>
{

View file

@ -460,7 +460,7 @@ namespace Flow.Launcher.Plugin.Program
Win32.Dispose();
}
public List<BasePluginHotkey> GetPuginHotkeys()
public List<BasePluginHotkey> GetPluginHotkeys()
{
return new List<BasePluginHotkey>
{