Skip to content

Commit

Permalink
Display when Max IOB setting = 0 and closed loop Loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon-b-m committed Jun 16, 2023
1 parent 9e8e077 commit 907fcf7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions FreeAPS/Sources/Modules/Home/View/HomeRootView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,10 @@ extension Home {
.padding(.trailing, 8)
}

if state.closedLoop, state.settingsManager.preferences.maxIOB == 0 {
Text("Max IOB: 0").font(.callout).foregroundColor(.orange).padding(.trailing, 20)
}

if let progress = state.bolusProgress {
Text("Bolusing")
.font(.system(size: 12, weight: .bold)).foregroundColor(.insulin)
Expand Down

0 comments on commit 907fcf7

Please sign in to comment.