     @objc func refresh() {
         self.refreshControl?.beginRefreshing()
         resyncHistory()
-        historyPanel?.updateNumberOfSyncedDevices()
     }
 
     /**

        recentlyClosedTabsButton.enabled = profile.recentlyClosedTabs.tabs.count > 0
    }

    func updateNumberOfSyncedDevices() {
        self.profile.getCachedClientsAndTabs().uponQueue(dispatch_get_main_queue()) { result in
            guard let clientAndTabs = result.successValue?.filter({ $0.tabs.count > 0 }) where clientAndTabs.count > 0 else {
                self.syncedTabsButton.descriptionLabel.hidden = true
                self.syncedTabsButton.updateConstraints()
                return
            }

            self.syncedTabsButton.descriptionLabel.text = String.localizedStringWithFormat(Strings.SyncedTabsTableViewCellDescription, clientAndTabs.count)
            self.syncedTabsButton.descriptionLabel.hidden = false
            self.syncedTabsButton.updateConstraints()
        }
    }

    @objc private func syncedTabsCellWasTapped() {

class HistoryPanel: UIViewController, HomePanel {
    weak var homePanelDelegate: HomePanelDelegate? = nil
    var profile: Profile!
    private var currentSyncedDevicesCount: Int? = nil
    private lazy var tableViewController: HistoryPanelSiteTableViewController = {
        return HistoryPanelSiteTableViewController()
    }()
