Explorar el Código

Merge branch 'core-data-sync-trio' of github.com:dnzxy/Open-iAPS into trio/settings-refactor

Deniz Cengiz hace 1 año
padre
commit
d36549194c
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      FreeAPS/Sources/APS/OpenAPS/OpenAPS.swift

+ 3 - 3
FreeAPS/Sources/APS/OpenAPS/OpenAPS.swift

@@ -249,12 +249,12 @@ final class OpenAPS {
             if let bolusDTO = event.toBolusDTOEnum() {
                 eventDTOs.append(bolusDTO)
             }
-            if let tempBasalDTO = event.toTempBasalDTOEnum() {
-                eventDTOs.append(tempBasalDTO)
-            }
             if let tempBasalDurationDTO = event.toTempBasalDurationDTOEnum() {
                 eventDTOs.append(tempBasalDurationDTO)
             }
+            if let tempBasalDTO = event.toTempBasalDTOEnum() {
+                eventDTOs.append(tempBasalDTO)
+            }
             return eventDTOs
         }
         return dtos