mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Do not execute when dialog jump is disabled
This commit is contained in:
parent
2f71d0d417
commit
adb1adb209
1 changed files with 3 additions and 1 deletions
|
|
@ -453,13 +453,15 @@ namespace Flow.Launcher.Infrastructure.DialogJump
|
|||
|
||||
#endregion
|
||||
|
||||
#region Hotkey
|
||||
#region Hotkey Command
|
||||
|
||||
private static RelayCommand _dialogJumpCommand;
|
||||
public static IRelayCommand DialogJumpCommand => _dialogJumpCommand ??= new RelayCommand(OnToggleHotkey);
|
||||
|
||||
private static void OnToggleHotkey()
|
||||
{
|
||||
if (!_settings.EnableDialogJump) return;
|
||||
|
||||
_ = Task.Run(async () =>
|
||||
{
|
||||
try
|
||||
|
|
|
|||
Loading…
Reference in a new issue