Просмотр исходного кода

Just one decimal in delta BG now

(cherry picked from commit 470c43e22882104a16e7b812caad10ae83c2a5e1)
Jon Mårtensson 5 лет назад
Родитель
Сommit
312ba63a1e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      FreeAPS/Sources/Modules/Home/View/Header/CurrentGlucoseView.swift

+ 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
     }