Skip to content

Commit

Permalink
[COASTAL-1389] display status row until bolus is completed (#731)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhamming authored Dec 13, 2024
1 parent ce7c83f commit 3a1144c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Loop/View Controllers/StatusTableViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1427,10 +1427,10 @@ final class StatusTableViewController: LoopChartsTableViewController {
case .failure(let error):
self.canceledDose = nil
self.presentErrorCancelingBolus(error)
if case .inProgress(let dose) = self.bolusState {
self.updateBannerAndHUDandStatusRows(statusRowMode: .bolusing(dose: dose), newSize: nil, animated: true)
} else {
if case .noBolus = self.bolusState {
self.updateBannerAndHUDandStatusRows(statusRowMode: .hidden, newSize: nil, animated: true)
} else {
self.updateBannerAndHUDandStatusRows(statusRowMode: .bolusing(dose: dose), newSize: nil, animated: true)
}
}
}
Expand Down

0 comments on commit 3a1144c

Please sign in to comment.