Do not execute when dialog jump is disabled

This commit is contained in:
Jack251970 2025-07-20 20:42:37 +08:00
parent 2f71d0d417
commit adb1adb209

View file

@ -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