소스 검색

correct spelling from waitForDuggestion to waitForSuggestion (#124)

sethgagnon 4 년 전
부모
커밋
af5085f1bf
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      FreeAPS/Sources/Modules/AddCarbs/AddCarbsStateModel.swift
  2. 1 1
      FreeAPS/Sources/Modules/Home/View/HomeRootView.swift

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

@@ -27,7 +27,7 @@ extension AddCarbs {
                 apsManager.determineBasalSync()
                 apsManager.determineBasalSync()
                 showModal(for: nil)
                 showModal(for: nil)
             } else {
             } 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)
                                     .padding(8)
                             }.foregroundColor(.loopYellow)
                             }.foregroundColor(.loopYellow)
                             Spacer()
                             Spacer()
-                            Button { state.showModal(for: .bolus(waitForDuggestion: false)) }
+                            Button { state.showModal(for: .bolus(waitForSuggestion: false)) }
                             label: {
                             label: {
                                 Image("bolus")
                                 Image("bolus")
                                     .renderingMode(.template)
                                     .renderingMode(.template)