diff --git a/xdrip/View Controllers/Treatments/TreatmentsViewController.swift b/xdrip/View Controllers/Treatments/TreatmentsViewController.swift index 8c70161d..e0c5b5e6 100644 --- a/xdrip/View Controllers/Treatments/TreatmentsViewController.swift +++ b/xdrip/View Controllers/Treatments/TreatmentsViewController.swift @@ -174,7 +174,13 @@ extension TreatmentsViewController: UITableViewDelegate, UITableViewDataSource { let treatment = treatmentCollection.getTreatment(dateIndex: indexPath.section, treatmentIndex: indexPath.row) cell.setupWithTreatment(treatment) - + + // clicking the cell will always open a new screen which allows the user to edit the treatment + cell.accessoryType = .disclosureIndicator + + // set color of disclosureIndicator to ConstantsUI.disclosureIndicatorColor + cell.accessoryView = DTCustomColoredAccessory(color: ConstantsUI.disclosureIndicatorColor) + return cell }