mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Simplify hotkey initialization by using the null-coalescing assignment operator (`??=`) to ensure `metadata.PluginHotkeys` is initialized to an empty collection if null. Add a call to `Clear()` to reset the collection before reuse. Replace `List<PluginHotkey>()` with shorthand `[]` syntax for creating empty collections, improving code readability and consistency. |
||
|---|---|---|
| .. | ||
| CustomBrowserViewModel.cs | ||
| CustomExplorerViewModel.cs | ||
| CustomShortcutModel.cs | ||
| DataLocation.cs | ||
| HttpProxy.cs | ||
| PluginHotkey.cs | ||
| PluginSettings.cs | ||
| Settings.cs | ||