فهرست منبع

Merge pull request #256 from Sjoerd-Bo3/fix-glucose-formatting-mmol

Fix glucose formatting mmol
Deniz Cengiz 1 سال پیش
والد
کامیت
62852f3eb2
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      FreeAPS/Sources/Helpers/Formatters.swift

+ 1 - 0
FreeAPS/Sources/Helpers/Formatters.swift

@@ -63,6 +63,7 @@ extension Formatter {
 
         switch units {
         case .mmolL:
+            formatter.minimumFractionDigits = 1
             formatter.maximumFractionDigits = 1
         case .mgdL:
             formatter.maximumFractionDigits = 0