Explorar el Código

Just one decimal in delta BG now

(cherry picked from commit 470c43e22882104a16e7b812caad10ae83c2a5e1)
Jon Mårtensson hace 5 años
padre
commit
312ba63a1e

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

@@ -19,7 +19,7 @@ struct CurrentGlucoseView: View {
     private var deltaFormatter: NumberFormatter {
         let formatter = NumberFormatter()
         formatter.numberStyle = .decimal
-        formatter.maximumFractionDigits = 2
+        formatter.maximumFractionDigits = 1
         formatter.positivePrefix = "+"
         return formatter
     }