From 401be6dd5b9566b4263acc3a12bc605dc7d482c4 Mon Sep 17 00:00:00 2001 From: AdrianLxM Date: Fri, 11 Nov 2016 16:28:57 +0100 Subject: [PATCH] add U to buttons --- .../androidaps/plugins/Actions/dialogs/FillDialog.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 01ad7c40fb..a170ea0e02 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 @@ -79,21 +79,21 @@ public class FillDialog extends DialogFragment implements OnClickListener { if(amount1 >0) { button1.setVisibility(View.VISIBLE); - button1.setText(DecimalFormatter.to2Decimal(amount1)); + button1.setText(DecimalFormatter.to2Decimal(amount1) + "U"); button1.setOnClickListener(this); } else { button1.setVisibility(View.GONE); } if(amount2 >0) { button2.setVisibility(View.VISIBLE); - button2.setText(DecimalFormatter.to2Decimal(amount2)); + button2.setText(DecimalFormatter.to2Decimal(amount2) + "U"); button2.setOnClickListener(this); } else { button2.setVisibility(View.GONE); } if(amount3 >0) { button3.setVisibility(View.VISIBLE); - button3.setText(DecimalFormatter.to2Decimal(amount3)); + button3.setText(DecimalFormatter.to2Decimal(amount3) + "U"); button3.setOnClickListener(this); } else { button3.setVisibility(View.GONE);