diff --git a/src/Files.App.Controls/Omnibar/Omnibar.cs b/src/Files.App.Controls/Omnibar/Omnibar.cs index 131ca89f4ef5..80d310061eb5 100644 --- a/src/Files.App.Controls/Omnibar/Omnibar.cs +++ b/src/Files.App.Controls/Omnibar/Omnibar.cs @@ -219,12 +219,6 @@ internal protected bool TryToggleIsSuggestionsPopupOpen(bool wantToOpen) return false; } - if (CurrentSelectedMode is not null) - { - _textBoxSuggestionsListView.ItemTemplate = CurrentSelectedMode.ItemTemplate; - _textBoxSuggestionsListView.ItemsSource = CurrentSelectedMode.ItemsSource; - } - _textBoxSuggestionsPopup.IsOpen = wantToOpen; GlobalHelper.WriteDebugStringForOmnibar("The suggestions pop-up is open.");