瀏覽代碼

Make more space between time stamp and "+" or "-"

Jon Mårtensson 4 年之前
父節點
當前提交
bc00129def
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      FreeAPS/Sources/Modules/Home/View/Header/CurrentGlucoseView.swift

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

@@ -22,7 +22,8 @@ struct CurrentGlucoseView: View {
         let formatter = NumberFormatter()
         formatter.numberStyle = .decimal
         formatter.maximumFractionDigits = 2
-        formatter.positivePrefix = "+"
+        formatter.positivePrefix = "  +"
+        formatter.negativePrefix = "  -"
         return formatter
     }