     var sections: [Section] = [] {
         didSet {
             tableView.reloadData()
+            if sections.isEmpty {
+                tableView.tableHeaderView = nil
+            }
         }
     }
 

                                          description: "Force Touch the app icon to search your favorites even faster.")
        whatsNewView.whatsNewDelegate = self
        let containerView = UIView()
        containerView.backgroundColor = UIColor.tableBackgroundColor
        containerView.addSubview(whatsNewView)
        whatsNewView.snp.makeConstraints { (make) in
            make.edges.equalToSuperview().inset(whatsNewView.containerPadding)

                self.sectionIndexes = [:]
                self.searchBar.isUserInteractionEnabled = false
                self.sections = []
                self.tableView.tableHeaderView = nil
            case .cellular, .wifi:
                if isBannerShown {
                    banner?.dismiss()
