Explorar o código

Change maximumFractionDigits to 1 for carbs in Chart View

Jon Mårtensson %!s(int64=3) %!d(string=hai) anos
pai
achega
00a04fa9be

+ 1 - 1
FreeAPS/Sources/Modules/Home/View/Chart/MainChartView.swift

@@ -93,7 +93,7 @@ struct MainChartView: View {
     private var carbsFormatter: NumberFormatter {
         let formatter = NumberFormatter()
         formatter.numberStyle = .decimal
-        formatter.maximumFractionDigits = 0
+        formatter.maximumFractionDigits = 1
         return formatter
     }