mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Remove redundant default value
This commit is contained in:
parent
bade0fcf59
commit
14216a4ac0
1 changed files with 1 additions and 10 deletions
|
|
@ -32,8 +32,6 @@ namespace Flow.Launcher.ViewModel
|
|||
{
|
||||
#region Private Fields
|
||||
|
||||
private const string DefaultOpenResultModifiers = "Alt";
|
||||
|
||||
private bool _isQueryRunning;
|
||||
private Query _lastQuery;
|
||||
private string _queryTextBeforeLeaveResults;
|
||||
|
|
@ -103,8 +101,6 @@ namespace Flow.Launcher.ViewModel
|
|||
RegisterViewUpdate();
|
||||
RegisterResultsUpdatedEvent();
|
||||
RegisterClockAndDateUpdateAsync();
|
||||
|
||||
SetOpenResultModifiers();
|
||||
}
|
||||
|
||||
private void RegisterViewUpdate()
|
||||
|
|
@ -513,7 +509,7 @@ namespace Flow.Launcher.ViewModel
|
|||
|
||||
public string PluginIconPath { get; set; } = null;
|
||||
|
||||
public string OpenResultCommandModifiers { get; private set; }
|
||||
public string OpenResultCommandModifiers => Settings.OpenResultModifiers;
|
||||
|
||||
public string Image => Constant.QueryTextBoxIconImagePath;
|
||||
|
||||
|
|
@ -876,11 +872,6 @@ namespace Flow.Launcher.ViewModel
|
|||
|
||||
#region Hotkey
|
||||
|
||||
private void SetOpenResultModifiers()
|
||||
{
|
||||
OpenResultCommandModifiers = Settings.OpenResultModifiers ?? DefaultOpenResultModifiers;
|
||||
}
|
||||
|
||||
public void ToggleFlowLauncher()
|
||||
{
|
||||
if (!MainWindowVisibilityStatus)
|
||||
|
|
|
|||
Loading…
Reference in a new issue