|
@@ -171,11 +171,9 @@ extension Bolus {
|
|
|
leading: Button {
|
|
leading: Button {
|
|
|
if fetch {
|
|
if fetch {
|
|
|
carbssView()
|
|
carbssView()
|
|
|
- } else {
|
|
|
|
|
- state.hideModal()
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- label: { Text("Back") },
|
|
|
|
|
|
|
+ label: { Text(fetch ? "Back" : "") },
|
|
|
|
|
|
|
|
trailing: Button { state.hideModal() }
|
|
trailing: Button { state.hideModal() }
|
|
|
label: { Text("Close") }
|
|
label: { Text("Close") }
|