Explorar o código

Xcode Auto format

Jon Mårtensson %!s(int64=3) %!d(string=hai) anos
pai
achega
84d24ecdd1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      FreeAPS/Sources/APS/CGM/GlucoseSimulatorSource.swift

+ 1 - 1
FreeAPS/Sources/APS/CGM/GlucoseSimulatorSource.swift

@@ -183,7 +183,7 @@ class IntelligentGenerator: BloodGlucoseGenerator {
 
 
     private func makeStepInTrend() {
     private func makeStepInTrend() {
         currentGlucose +=
         currentGlucose +=
-        Int(Double((trendTargetValue - currentGlucose) / trendStepsLeft) * [0.3, 0.6, 1, 1.3, 1.6, 2.0].randomElement()!)
+            Int(Double((trendTargetValue - currentGlucose) / trendStepsLeft) * [0.3, 0.6, 1, 1.3, 1.6, 2.0].randomElement()!)
         trendStepsLeft -= 1
         trendStepsLeft -= 1
         if trendStepsLeft == 0 {
         if trendStepsLeft == 0 {
             generateNewTrend()
             generateNewTrend()