Made settings selection color match app selection color.

This commit is contained in:
Maurice Parker
2019-04-28 14:39:35 -05:00
parent c4c67dec6e
commit 9b17f3394f
2 changed files with 15 additions and 0 deletions

View File

@@ -22,7 +22,13 @@ class RefreshIntervalViewController: UITableViewController {
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "Cell", for: indexPath)
cell.textLabel?.adjustsFontForContentSizeCategory = true
let bgView = UIView()
bgView.backgroundColor = AppAssets.selectionBackgroundColor
cell.selectedBackgroundView = bgView
let userRefreshInterval = AppDefaults.refreshInterval
switch indexPath.row {
@@ -76,6 +82,7 @@ class RefreshIntervalViewController: UITableViewController {
cell.accessoryType = .none
}
}
return cell
}