From 315ac3ee128c15059c37937ed3ea075a19bae138 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Wed, 13 Nov 2019 09:36:05 -0600 Subject: [PATCH] Remove code that wasn't actually hiding the search bar --- iOS/MasterTimeline/MasterTimelineViewController.swift | 7 ------- 1 file changed, 7 deletions(-) diff --git a/iOS/MasterTimeline/MasterTimelineViewController.swift b/iOS/MasterTimeline/MasterTimelineViewController.swift index d340e7109..570f3bba4 100644 --- a/iOS/MasterTimeline/MasterTimelineViewController.swift +++ b/iOS/MasterTimeline/MasterTimelineViewController.swift @@ -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 @IBAction func markAllAsRead(_ sender: Any) {