瀏覽代碼

Just one decimal in delta BG now

(cherry picked from commit 470c43e22882104a16e7b812caad10ae83c2a5e1)
Jon Mårtensson 5 年之前
父節點
當前提交
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
     }