Skip to content

Commit f27b688

Browse files
committed
Requested change
1 parent fca965b commit f27b688

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Files.App/UserControls/NavigationToolbar.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ private async void Omnibar_QuerySubmitted(Omnibar sender, OmnibarQuerySubmittedE
269269
}
270270

271271
// Command palette mode
272-
if (mode == OmnibarCommandPaletteMode)
272+
else if (mode == OmnibarCommandPaletteMode)
273273
{
274274
var item = args.Item as NavigationBarSuggestionItem;
275275

@@ -313,7 +313,7 @@ await DialogDisplayHelper.ShowDialogAsync(Strings.InvalidCommand.GetLocalizedRes
313313
}
314314

315315
// Search mode
316-
if (mode == OmnibarSearchMode)
316+
else if (mode == OmnibarSearchMode)
317317
{
318318
}
319319
}

0 commit comments

Comments
 (0)