|
@@ -286,9 +286,7 @@ extension Bolus {
|
|
|
numberFormatter: mealFormatter
|
|
numberFormatter: mealFormatter
|
|
|
)
|
|
)
|
|
|
.onChange(of: state.carbs) { _ in
|
|
.onChange(of: state.carbs) { _ in
|
|
|
- if state.carbs > 0 {
|
|
|
|
|
- handleDebouncedInput()
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ handleDebouncedInput()
|
|
|
}
|
|
}
|
|
|
Text("g").foregroundColor(.secondary)
|
|
Text("g").foregroundColor(.secondary)
|
|
|
}
|
|
}
|