Skip to content

Commit 051af06

Browse files
committed
Add toggle cmmand for main view model
1 parent 3231b1d commit 051af06

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,13 @@ private static IReadOnlyList<Result> DeepCloneResults(IReadOnlyList<Result> resu
496496

497497
#region BasicCommands
498498

499+
[RelayCommand]
500+
private void CheckAndToggleFlowLauncher()
501+
{
502+
if (!ShouldIgnoreHotkeys())
503+
ToggleFlowLauncher();
504+
}
505+
499506
[RelayCommand]
500507
private void OpenSetting()
501508
{

0 commit comments

Comments
 (0)