Browse Source

fix glucose formatting

Ivan Valkou 5 years ago
parent
commit
2511e5cbb4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      FreeAPS/Sources/Modules/Home/View/Header/CurrentGlucoseView.swift

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

@@ -9,7 +9,7 @@ struct CurrentGlucoseView: View {
         let formatter = NumberFormatter()
         formatter.numberStyle = .decimal
         formatter.maximumFractionDigits = 0
-        if units == .mgdL {
+        if units == .mmolL {
             formatter.minimumFractionDigits = 1
             formatter.maximumFractionDigits = 1
         }