Explorar o código

Merge pull request #338 from loopandlearn/scheduled-meal-bolus

Clarification about scheduled meal and bolus
Marion Barker hai 1 ano
pai
achega
d16a6b696d
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      LoopFollow/Remote/TRC/MealView.swift

+ 4 - 0
LoopFollow/Remote/TRC/MealView.swift

@@ -120,6 +120,10 @@ struct MealView: View {
                                 displayedComponents: .hourAndMinute
                             )
                             .datePickerStyle(CompactDatePickerStyle())
+
+                            if bolusAmount.doubleValue(for: .internationalUnit()) > 0 {
+                                Text("Note: The meal will be scheduled, but the bolus is enacted immediately.")
+                            }
                         }
                     }