We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c9a832 commit 39aa266Copy full SHA for 39aa266
Loop/View Controllers/StatusTableViewController.swift
@@ -1533,6 +1533,14 @@ extension StatusTableViewController: PumpManagerStatusObserver {
1533
1534
self.basalDeliveryState = status.basalDeliveryState
1535
self.bolusState = status.bolusState
1536
+
1537
+ // refresh display if pump status highlight or lifecycle progress have changed
1538
+ if status.pumpStatusHighlight != oldStatus.pumpStatusHighlight ||
1539
+ status.pumpLifecycleProgress != oldStatus.pumpLifecycleProgress
1540
+ {
1541
+ refreshContext.update(with: .status)
1542
+ self.reloadData(animated: true)
1543
+ }
1544
}
1545
1546
0 commit comments