ソースを参照

Remove blank lines...

(cherry picked from commit 5dea4cbac4a2ee41ce92ca45551713bbdce38397)
Jon Mårtensson 5 年 前
コミット
ab5466ccea

+ 0 - 2
FreeAPS/Sources/Modules/Home/View/Header/CurrentGlucoseView.swift

@@ -33,9 +33,7 @@ struct CurrentGlucoseView: View {
     var colorOfGlucose: Color {
         let glucoseString =
             " \(recentGlucose?.glucose.map { glucoseFormatter.string(from: Double(units == .mmolL ? $0.asMmolL : Decimal($0)) as NSNumber)! })"
-
         let glucoseStringWithoutSuffix = String(glucoseString.dropFirst(11)) // Drop first 11 characters
-
         let glucoseStringTrimmed = String(glucoseStringWithoutSuffix.dropLast(3)) // Drop last 3 characters
 
         switch glucoseStringTrimmed {