From 1c522d4a4dc08983defe70f58f02e094477b2ea2 Mon Sep 17 00:00:00 2001 From: AdrianLxM Date: Sun, 19 Feb 2017 22:42:31 +0100 Subject: [PATCH] wear 5 minute steps for duration of temp targets --- .../androidaps/interaction/actions/TempTargetActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wear/src/main/java/info/nightscout/androidaps/interaction/actions/TempTargetActivity.java b/wear/src/main/java/info/nightscout/androidaps/interaction/actions/TempTargetActivity.java index b636869b60..d5f53be4f6 100644 --- a/wear/src/main/java/info/nightscout/androidaps/interaction/actions/TempTargetActivity.java +++ b/wear/src/main/java/info/nightscout/androidaps/interaction/actions/TempTargetActivity.java @@ -78,10 +78,10 @@ public class TempTargetActivity extends ViewSelectorActivity { final TextView textView = (TextView) view.findViewById(R.id.label); textView.setText("duration"); if (time == null) { - time = new PlusMinusEditText(view, R.id.amountfield, R.id.plusbutton, R.id.minusbutton, 60d, 0d, 24 * 60d, 1d, new DecimalFormat("0"), false); + time = new PlusMinusEditText(view, R.id.amountfield, R.id.plusbutton, R.id.minusbutton, 60d, 0d, 24 * 60d, 5d, new DecimalFormat("0"), false); } else { double def = SafeParse.stringToDouble(time.editText.getText().toString()); - time = new PlusMinusEditText(view, R.id.amountfield, R.id.plusbutton, R.id.minusbutton, def, 0d, 24 * 60d, 1d, new DecimalFormat("0"), false); + time = new PlusMinusEditText(view, R.id.amountfield, R.id.plusbutton, R.id.minusbutton, def, 0d, 24 * 60d, 5d, new DecimalFormat("0"), false); } setLabelToPlusMinusView(view, "duration"); container.addView(view);