We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe52157 commit 90ea956Copy full SHA for 90ea956
src/Files.App/UserControls/NavigationToolbar.xaml.cs
@@ -475,13 +475,10 @@ await DispatcherQueue.EnqueueOrInvokeAsync(async () =>
475
{
476
ViewModel.OmnibarCommandPaletteModeText = string.Empty;
477
478
- if (ViewModel.OmnibarCommandPaletteModeSuggestionItems.Count is 0)
+ await DispatcherQueue.EnqueueOrInvokeAsync(() =>
479
480
- await DispatcherQueue.EnqueueOrInvokeAsync(() =>
481
- {
482
- ViewModel.PopulateOmnibarSuggestionsForCommandPaletteMode();
483
- });
484
- }
+ ViewModel.PopulateOmnibarSuggestionsForCommandPaletteMode();
+ });
485
}
486
else if (Omnibar.CurrentSelectedMode == OmnibarSearchMode)
487
0 commit comments