From 46f7a49d6b5119ba436a2f1d5ebbaad341496776 Mon Sep 17 00:00:00 2001 From: marionbarker Date: Sat, 22 Mar 2025 13:15:08 -0700 Subject: [PATCH] update progressCell for bolus display, update for dev branch --- Loop/View Controllers/StatusTableViewController.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Loop/View Controllers/StatusTableViewController.swift b/Loop/View Controllers/StatusTableViewController.swift index 275a425d1d..0e14f2167c 100644 --- a/Loop/View Controllers/StatusTableViewController.swift +++ b/Loop/View Controllers/StatusTableViewController.swift @@ -247,7 +247,8 @@ final class StatusTableViewController: LoopChartsTableViewController { // If there is an existing bolus progressCell, update its dose values now in case the app is currently in the // background as otherwise these values won't get initialized and can contain stale data from some earlier bolus. if let progressCell = tableView.cellForRow(at: IndexPath(row: StatusRow.status.rawValue, section: Section.status.rawValue)) as? BolusProgressTableViewCell { - progressCell.configuration = .bolusing(delivered: 0, ofTotalVolume: dose.programmedUnits) + progressCell.totalUnits = dose.programmedUnits + progressCell.deliveredUnits = 0 } break }