From 9d4674faff11af9ec1c027863c815e3045f2b3a1 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Fri, 14 Sep 2018 14:29:25 +0200 Subject: [PATCH] FillDialog formating fix --- .../androidaps/plugins/Actions/dialogs/FillDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/Actions/dialogs/FillDialog.java b/app/src/main/java/info/nightscout/androidaps/plugins/Actions/dialogs/FillDialog.java index 20211e5f22..4f83465e7d 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/Actions/dialogs/FillDialog.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/Actions/dialogs/FillDialog.java @@ -184,7 +184,7 @@ public class FillDialog extends DialogFragment implements OnClickListener { if (insulinAfterConstraints > 0) { confirmMessage.add(MainApp.gs(R.string.fillwarning)); confirmMessage.add(""); - confirmMessage.add(MainApp.gs(R.string.bolus) + ": " + "" + insulinAfterConstraints + "U" + ""); + confirmMessage.add(MainApp.gs(R.string.bolus) + ": " + "" + DecimalFormatter.toPumpSupportedBolus(insulinAfterConstraints) + "U" + ""); if (!insulinAfterConstraints.equals(insulin)) confirmMessage.add("" + MainApp.gs(R.string.bolusconstraintapplied) + ""); }