Code quality

This commit is contained in:
Jack251970 2025-07-01 23:03:16 +08:00
parent 14310d247c
commit b87f233ecb

View file

@ -359,9 +359,9 @@ namespace Flow.Launcher.Infrastructure.UserSettings
public int ActivateTimes { get; set; } public int ActivateTimes { get; set; }
public ObservableCollection<CustomPluginHotkey> CustomPluginHotkeys { get; set; } = new ObservableCollection<CustomPluginHotkey>(); public ObservableCollection<CustomPluginHotkey> CustomPluginHotkeys { get; set; } = new();
public ObservableCollection<CustomShortcutModel> CustomShortcuts { get; set; } = new ObservableCollection<CustomShortcutModel>(); public ObservableCollection<CustomShortcutModel> CustomShortcuts { get; set; } = new();
[JsonIgnore] [JsonIgnore]
public ObservableCollection<BaseBuiltinShortcutModel> BuiltinShortcuts { get; set; } = new() public ObservableCollection<BaseBuiltinShortcutModel> BuiltinShortcuts { get; set; } = new()
@ -432,7 +432,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings
public bool WMPInstalled { get; set; } = true; public bool WMPInstalled { get; set; } = true;
// This needs to be loaded last by staying at the bottom // This needs to be loaded last by staying at the bottom
public PluginsSettings PluginSettings { get; set; } = new PluginsSettings(); public PluginsSettings PluginSettings { get; set; } = new();
[JsonIgnore] [JsonIgnore]
public List<RegisteredHotkeyData> RegisteredHotkeys public List<RegisteredHotkeyData> RegisteredHotkeys