|
|
@@ -98,9 +98,9 @@ struct BolusConfirmationView: View {
|
|
|
.foregroundStyle(Color.white)
|
|
|
}
|
|
|
}
|
|
|
- .blur(radius: state.bolusProgress > 0 && state.bolusProgress < 1.0 && !state.isBolusCanceled ? 3 : 0)
|
|
|
+ .blur(radius: state.showBolusProgressOverlay ? 3 : 0)
|
|
|
.overlay {
|
|
|
- if state.bolusProgress > 0 && state.bolusProgress < 1.0 && !state.isBolusCanceled && !state.showAcknowledgmentBanner {
|
|
|
+ if state.showBolusProgressOverlay {
|
|
|
BolusProgressOverlay(state: state)
|
|
|
.transition(.opacity)
|
|
|
}
|