mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Make settings readonly
This commit is contained in:
parent
c3509c3b20
commit
f4f8e9af52
3 changed files with 3 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ namespace Flow.Launcher
|
|||
{
|
||||
public partial class CustomQueryHotkeySetting : Window
|
||||
{
|
||||
public Settings Settings { get; set; }
|
||||
public Settings Settings { get; }
|
||||
|
||||
private bool update;
|
||||
private CustomPluginHotkey updateCustomHotkey;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace Flow.Launcher
|
|||
{
|
||||
public partial class CustomShortcutSetting : Window
|
||||
{
|
||||
public Settings Settings { get; set; } = Ioc.Default.GetRequiredService<Settings>();
|
||||
public Settings Settings { get; } = Ioc.Default.GetRequiredService<Settings>();
|
||||
|
||||
private readonly SettingsPaneHotkeyViewModel _hotkeyVm;
|
||||
public string Key { get; set; } = string.Empty;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Flow.Launcher.ViewModel;
|
|||
|
||||
public partial class SettingWindowViewModel : BaseModel
|
||||
{
|
||||
public Settings Settings { get; set; }
|
||||
public Settings Settings { get; }
|
||||
|
||||
public SettingWindowViewModel(Settings settings)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue