|
@@ -495,7 +495,7 @@ extension Home {
|
|
|
.background(Capsule().fill(Color.red))
|
|
.background(Capsule().fill(Color.red))
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- }
|
|
|
|
|
|
|
+ }.buttonStyle(.borderless)
|
|
|
Spacer()
|
|
Spacer()
|
|
|
Button { state.showModal(for: .addTempTarget) }
|
|
Button { state.showModal(for: .addTempTarget) }
|
|
|
label: {
|
|
label: {
|
|
@@ -504,7 +504,9 @@ extension Home {
|
|
|
.resizable()
|
|
.resizable()
|
|
|
.frame(width: 24, height: 24)
|
|
.frame(width: 24, height: 24)
|
|
|
.padding(8)
|
|
.padding(8)
|
|
|
- }.foregroundColor(.loopGreen)
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+ .foregroundColor(.loopGreen)
|
|
|
|
|
+ .buttonStyle(.borderless)
|
|
|
Spacer()
|
|
Spacer()
|
|
|
Button { state.showModal(for: .bolus(waitForSuggestion: false)) }
|
|
Button { state.showModal(for: .bolus(waitForSuggestion: false)) }
|
|
|
label: {
|
|
label: {
|
|
@@ -513,7 +515,9 @@ extension Home {
|
|
|
.resizable()
|
|
.resizable()
|
|
|
.frame(width: 24, height: 24)
|
|
.frame(width: 24, height: 24)
|
|
|
.padding(8)
|
|
.padding(8)
|
|
|
- }.foregroundColor(.insulin)
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+ .foregroundColor(.insulin)
|
|
|
|
|
+ .buttonStyle(.borderless)
|
|
|
Spacer()
|
|
Spacer()
|
|
|
if state.allowManualTemp {
|
|
if state.allowManualTemp {
|
|
|
Button { state.showModal(for: .manualTempBasal) }
|
|
Button { state.showModal(for: .manualTempBasal) }
|
|
@@ -523,7 +527,9 @@ extension Home {
|
|
|
.resizable()
|
|
.resizable()
|
|
|
.frame(width: 24, height: 24)
|
|
.frame(width: 24, height: 24)
|
|
|
.padding(8)
|
|
.padding(8)
|
|
|
- }.foregroundColor(.insulin)
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+ .foregroundColor(.insulin)
|
|
|
|
|
+ .buttonStyle(.borderless)
|
|
|
Spacer()
|
|
Spacer()
|
|
|
}
|
|
}
|
|
|
Button { state.showModal(for: .statistics)
|
|
Button { state.showModal(for: .statistics)
|
|
@@ -534,7 +540,9 @@ extension Home {
|
|
|
.resizable()
|
|
.resizable()
|
|
|
.frame(width: 24, height: 24)
|
|
.frame(width: 24, height: 24)
|
|
|
.padding(8)
|
|
.padding(8)
|
|
|
- }.foregroundColor(.purple)
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+ .foregroundColor(.purple)
|
|
|
|
|
+ .buttonStyle(.borderless)
|
|
|
Spacer()
|
|
Spacer()
|
|
|
Button { state.showModal(for: .settings) }
|
|
Button { state.showModal(for: .settings) }
|
|
|
label: {
|
|
label: {
|
|
@@ -543,7 +551,9 @@ extension Home {
|
|
|
.resizable()
|
|
.resizable()
|
|
|
.frame(width: 24, height: 24)
|
|
.frame(width: 24, height: 24)
|
|
|
.padding(8)
|
|
.padding(8)
|
|
|
- }.foregroundColor(.loopGray)
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+ .foregroundColor(.loopGray)
|
|
|
|
|
+ .buttonStyle(.borderless)
|
|
|
}
|
|
}
|
|
|
.padding(.horizontal, 24)
|
|
.padding(.horizontal, 24)
|
|
|
.padding(.bottom, geo.safeAreaInsets.bottom)
|
|
.padding(.bottom, geo.safeAreaInsets.bottom)
|