diff --git a/Loop/View Controllers/PredictionTableViewController.swift b/Loop/View Controllers/PredictionTableViewController.swift index df7f672d0..b1349c708 100644 --- a/Loop/View Controllers/PredictionTableViewController.swift +++ b/Loop/View Controllers/PredictionTableViewController.swift @@ -220,7 +220,6 @@ class PredictionTableViewController: LoopChartsTableViewController, Identifiable switch Section(rawValue: indexPath.section)! { case .charts: let cell = tableView.dequeueReusableCell(withIdentifier: ChartTableViewCell.className, for: indexPath) as! ChartTableViewCell - cell.contentView.layoutMargins.left = tableView.separatorInset.left cell.setChartGenerator(generator: { [weak self] (frame) in return self?.charts.chart(atIndex: 0, frame: frame)?.view }) diff --git a/Loop/Views/PotentialCarbEntryTableViewCell.swift b/Loop/Views/PotentialCarbEntryTableViewCell.swift index fac1d8060..1ea72bdb1 100644 --- a/Loop/Views/PotentialCarbEntryTableViewCell.swift +++ b/Loop/Views/PotentialCarbEntryTableViewCell.swift @@ -13,13 +13,6 @@ class PotentialCarbEntryTableViewCell: UITableViewCell { @IBOutlet weak var valueLabel: UILabel! @IBOutlet weak var dateLabel: UILabel! - override func layoutSubviews() { - super.layoutSubviews() - - contentView.layoutMargins.left = separatorInset.left - contentView.layoutMargins.right = separatorInset.left - } - override func awakeFromNib() { super.awakeFromNib() diff --git a/Loop/Views/PredictionInputEffectTableViewCell.swift b/Loop/Views/PredictionInputEffectTableViewCell.swift index fe42f3d5e..29c421747 100644 --- a/Loop/Views/PredictionInputEffectTableViewCell.swift +++ b/Loop/Views/PredictionInputEffectTableViewCell.swift @@ -14,13 +14,6 @@ class PredictionInputEffectTableViewCell: UITableViewCell { @IBOutlet weak var subtitleLabel: UILabel! - override func layoutSubviews() { - super.layoutSubviews() - - contentView.layoutMargins.left = separatorInset.left - contentView.layoutMargins.right = separatorInset.left - } - var enabled: Bool = true { didSet { if enabled {