Преглед изворни кода

From dev

Bug fix for empty pump history. Readme update.
Jon B.M пре 3 година
родитељ
комит
ff3d6f858c

Разлика између датотеке није приказан због своје велике величине
+ 1 - 1
FreeAPS/Resources/javascript/bundle/determine-basal.js


+ 2 - 2
FreeAPS/Sources/Modules/AddTempTarget/AddTempTargetStateModel.swift

@@ -40,7 +40,7 @@ extension AddTempTarget {
                     target = (c / ratio) - c + 100
                 }
                 lowTarget = target
-                lowTarget = Decimal(round(Double(target * 10)) / 10)
+                lowTarget = Decimal(round(Double(target)))
             }
             var highTarget = lowTarget
 
@@ -81,7 +81,7 @@ extension AddTempTarget {
                     target = (c / ratio) - c + 100
                 }
                 lowTarget = target
-                lowTarget = Decimal(round(Double(target * 10)) / 10)
+                lowTarget = Decimal(round(Double(target)))
             }
             var highTarget = lowTarget
 

+ 3 - 5
README.md

@@ -21,7 +21,7 @@ Download and open in Xcode directly using the Code button: "Open with Xcode".
 
 Please understand that this version is:
 - highly experimental and evolving rapidly.
-- not CE approved for therapy yet
+- not CE approved for therapy.
 
 # Pumps
 
@@ -51,19 +51,17 @@ iAPS app runs on iPhone or iPod. An iPhone 7 or newer is recommended.
 
 [Discord iAPS - main branch channel](https://discord.com/channels/1020905149037813862/1021041588627062854)
 
-[My Crowdin Project for translation of iAPS](https://crowdin.com/project/freeaps-x)
+[Crowdin Project for translation of iAPS](https://crowdin.com/project/freeaps-x)
 
 [Middleware code for iAPS](https://github.com/Jon-b-m/middleware)
 
-[freeAPS X original github](https://github.com/ivalkou/freeaps)
-
 [ADD DASH PUMP and SETTINGS](https://loopkit.github.io/loopdocs/loop-3/omnipod/)
 
 [Overview & Onboarding Tips on Loop&Learn](https://www.loopandlearn.org/freeaps-x/)
 
 [OpenAPS documentation](https://openaps.readthedocs.io/en/latest/)
 
-[iAPS documentation (under development)](https://iaps-documentation.readthedocs.io/en/main/)
+[iAPS documentation (under development)](https://iaps.readthedocs.io/en/latest/)
 
 # Contribute