Remove code that wasn't actually hiding the search bar
This commit is contained in:
parent
8a0c3887ea
commit
315ac3ee12
|
@ -79,13 +79,6 @@ class MasterTimelineViewController: UITableViewController, UndoableCommandRunner
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override func viewWillAppear(_ animated: Bool) {
|
|
||||||
// Hide the search controller if we don't have any rows
|
|
||||||
if dataSource.snapshot().numberOfItems < 1 {
|
|
||||||
navigationItem.searchController?.isActive = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// MARK: Actions
|
// MARK: Actions
|
||||||
|
|
||||||
@IBAction func markAllAsRead(_ sender: Any) {
|
@IBAction func markAllAsRead(_ sender: Any) {
|
||||||
|
|
Loading…
Reference in New Issue