mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Clear the timeline when the user begins searching
This commit is contained in:
@@ -427,11 +427,13 @@ extension MasterTimelineViewController: UISearchBarDelegate {
|
||||
}
|
||||
|
||||
func searchBarShouldBeginEditing(_ searchBar: UISearchBar) -> Bool {
|
||||
coordinator.beginSearching()
|
||||
searchBar.showsScopeBar = true
|
||||
return true
|
||||
}
|
||||
|
||||
func searchBarShouldEndEditing(_ searchBar: UISearchBar) -> Bool {
|
||||
coordinator.endSearching()
|
||||
searchBar.showsScopeBar = false
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user