diff --git a/Mastodon/Scene/Search/SearchDetail/SearchDetailViewController.swift b/Mastodon/Scene/Search/SearchDetail/SearchDetailViewController.swift index 25dc48e45..e0f099bbe 100644 --- a/Mastodon/Scene/Search/SearchDetail/SearchDetailViewController.swift +++ b/Mastodon/Scene/Search/SearchDetail/SearchDetailViewController.swift @@ -248,6 +248,10 @@ extension SearchDetailViewController: UISearchBarDelegate { searchResultsOverviewViewController.searchForSuggestions(for: trimmedSearchText) } + func searchBarSearchButtonClicked(_ searchBar: UISearchBar) { + searchBar.resignFirstResponder() + } + func searchBarCancelButtonClicked(_ searchBar: UISearchBar) { // dismiss or pop if isModal {