mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Use an event, not a settable delegate property, for PluginHotkeyChanged
This commit is contained in:
parent
98816ac181
commit
b84c6ec333
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
|
@ -31,7 +31,7 @@ namespace Flow.Launcher.Core.Plugin
|
|||
public static readonly HashSet<PluginPair> GlobalPlugins = new();
|
||||
public static readonly Dictionary<string, PluginPair> NonGlobalPlugins = new();
|
||||
|
||||
public static Action<PluginHotkeyChangedEvent> PluginHotkeyChanged { get; set; }
|
||||
public static event Action<PluginHotkeyChangedEvent> PluginHotkeyChanged;
|
||||
|
||||
// We should not initialize API in static constructor because it will create another API instance
|
||||
private static IPublicAPI api = null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue