Bläddra i källkod

correct spelling from waitForDuggestion to waitForSuggestion (#124)

sethgagnon 4 år sedan
förälder
incheckning
af5085f1bf

+ 1 - 1
FreeAPS/Sources/Modules/AddCarbs/AddCarbsStateModel.swift

@@ -27,7 +27,7 @@ extension AddCarbs {
                 apsManager.determineBasalSync()
                 showModal(for: nil)
             } else {
-                showModal(for: .bolus(waitForDuggestion: true))
+                showModal(for: .bolus(waitForSuggestion: true))
             }
         }
     }

+ 1 - 1
FreeAPS/Sources/Modules/Home/View/HomeRootView.swift

@@ -271,7 +271,7 @@ extension Home {
                                     .padding(8)
                             }.foregroundColor(.loopYellow)
                             Spacer()
-                            Button { state.showModal(for: .bolus(waitForDuggestion: false)) }
+                            Button { state.showModal(for: .bolus(waitForSuggestion: false)) }
                             label: {
                                 Image("bolus")
                                     .renderingMode(.template)