Skip to content

Commit adb1adb

Browse files
committed
Do not execute when dialog jump is disabled
1 parent 2f71d0d commit adb1adb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Flow.Launcher.Infrastructure/DialogJump/DialogJump.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,13 +453,15 @@ private static void InvokeHideDialogJumpWindow()
453453

454454
#endregion
455455

456-
#region Hotkey
456+
#region Hotkey Command
457457

458458
private static RelayCommand _dialogJumpCommand;
459459
public static IRelayCommand DialogJumpCommand => _dialogJumpCommand ??= new RelayCommand(OnToggleHotkey);
460460

461461
private static void OnToggleHotkey()
462462
{
463+
if (!_settings.EnableDialogJump) return;
464+
463465
_ = Task.Run(async () =>
464466
{
465467
try

0 commit comments

Comments
 (0)