Pārlūkot izejas kodu

variable got lost

(cherry picked from commit 4e5bb575846de172d3c27fb3083cde026a0fe612)
Jon Mårtensson 3 gadi atpakaļ
vecāks
revīzija
39b252e42e
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      FreeAPS/Sources/Models/Statistics.swift

+ 2 - 0
FreeAPS/Sources/Models/Statistics.swift

@@ -132,6 +132,7 @@ struct Ins: JSON, Equatable {
     let bolus: Decimal?
     let temp_basal: Decimal?
     let scheduled_basal: Decimal?
+    let total_average: Decimal?
 }
 
 struct Variance: JSON, Equatable {
@@ -187,6 +188,7 @@ extension Ins {
         case bolus
         case temp_basal
         case scheduled_basal
+        case total_average
     }
 }