Made search suggestions togglable

This commit is contained in:
2025-07-05 15:19:35 +02:00
parent 66d03513eb
commit c5388fc044
5 changed files with 26 additions and 27 deletions

View File

@@ -314,7 +314,7 @@
}
private void UpdateSearchSuggestions() {
if (_config is null) return;
if (_config is null || !_config.ShowSearchSuggestions) return;
_searchSuggestions = SearchSuggestions.GenerateSearchSuggestions(_config, _searchTerm ?? string.Empty).ToList();
}