From e5fc19a78579d8e15e94d5ffc094c374f1661901 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Sat, 7 Jan 2017 23:04:12 +0100 Subject: [PATCH] better arrange code lines --- .../plugins/OpenAPSAMA/DetermineBasalAdapterAMAJS.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/OpenAPSAMA/DetermineBasalAdapterAMAJS.java b/app/src/main/java/info/nightscout/androidaps/plugins/OpenAPSAMA/DetermineBasalAdapterAMAJS.java index a6c8df5b05..7fe60653b4 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/OpenAPSAMA/DetermineBasalAdapterAMAJS.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/OpenAPSAMA/DetermineBasalAdapterAMAJS.java @@ -107,10 +107,10 @@ public class DetermineBasalAdapterAMAJS { mMealData.add("carbs", 0); mMealData.add("boluses", 0); mMealData.add("mealCOB", 0.0d); + mMealData.add("ratio", 0.0d); mV8rt.add(PARAM_meal_data, mMealData); // Autosens data mAutosensData = new V8Object(mV8rt); - mMealData.add("ratio", 0.0d); mV8rt.add(PARAM_autosens_data, mAutosensData); }