Add property changed for OpenResultModifiers

This commit is contained in:
Jack251970 2025-07-12 15:12:56 +08:00
parent 4ad7ca9d43
commit 0d4598b301

View file

@ -39,7 +39,20 @@ namespace Flow.Launcher.Infrastructure.UserSettings
_storage.Save();
}
public string OpenResultModifiers { get; set; } = KeyConstant.Alt;
private string _openResultModifiers = KeyConstant.Alt;
public string OpenResultModifiers
{
get => _openResultModifiers;
set
{
if (_openResultModifiers != value)
{
_openResultModifiers = value;
OnPropertyChanged();
}
}
}
public string ColorScheme { get; set; } = "System";
public bool ShowOpenResultHotkey { get; set; } = true;
public double WindowSize { get; set; } = 580;