         }
     }
 }
-
-extension SearchSettingsViewController: Themeable {
-    public func apply(theme: Theme) {
-        self.theme = theme
-        guard viewIfLoaded != nil else {
-            return
-        }
-        view.backgroundColor = theme.colors.baseBackground
-        tableView.backgroundColor = theme.colors.baseBackground
-    }
-}

}

@objc(WMFSearchSettingsViewController)
public final class SearchSettingsViewController: UIViewController {
    private var theme = Theme.standard

    private lazy var tableView: UITableView = {
        let tableView = UITableView(frame: view.bounds, style: .grouped)
        view.wmf_addSubviewWithConstraintsToEdges(tableView)
        tableView.separatorStyle = .none
        tableView.dataSource = self
        tableView.delegate = self
        tableView.register(WMFSettingsTableViewCell.wmf_classNib(), forCellReuseIdentifier: WMFSettingsTableViewCell.identifier)
        return tableView
    }()

    public override func viewDidLoad() {
        title = CommonStrings.searchTitle
        apply(theme: theme)
    }

    private lazy var sections: [Section] = {

    }
}

extension SearchSettingsViewController {
    public func tableView(_ tableView: UITableView, titleForFooterInSection section: Int) -> String? {
        return getSection(at: section).footerTitle
    }
