 
 struct AppearanceSettingsSection {
     let headerTitle: String
+    let footerText: String?
     let items: [AppearanceSettingsItem]
 }
 

        return cell
    }
    
    func handleSwitchValueChange(_ sender: UISwitch) {
        print("handleSwitchValueChange")
    }
    
    func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
        let header = WMFTableHeaderLabelView.wmf_viewFromClassNib()
//        if let th = header as Themeable? {
//            th.apply(theme: theme)
//        }
        header?.text = sections[section].headerTitle
        return header;
    }
    
    func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {

            return UITableViewCell()
        }
        
        let section = sections[indexPath.section]
        let item = sections[indexPath.section].items[indexPath.item]
        cell.title = item.title
        cell.iconName = nil
        
        
        if let switchItem = item as? AppearanceSettingsSwitchItem {
            cell.disclosureType = .switch
            // disable until implemented
            cell.disclosureSwitch.isEnabled = false
            if switchItem.title == "Image dimming" {
                //TODO: get a real icon
                cell.iconName = "settings-notifications"
                cell.disclosureSwitch.addTarget(self, action: #selector(self.handleImageDimmingSwitchValueChange(_:)), for: .valueChanged)
            } else {
                //TODO: get a real icon
                cell.iconName = "settings-notifications"
                cell.disclosureSwitch.addTarget(self, action: #selector(self.handleAutoNightModeSwitchValueChange(_:)), for: .valueChanged)
            }
        } else {
            cell.disclosureType = .viewController
        }
