Revert inadvertent changes to wear activities.
This commit is contained in:
parent
c6ad1b59f3
commit
cc6c34e46c
2 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ public class BolusActivity extends ViewSelectorActivity {
|
|||
if (editCarbs != null){
|
||||
def = SafeParse.stringToDouble(editCarbs.editText.getText().toString());
|
||||
}
|
||||
editCarbs = new PlusMinusEditText(view, R.id.amountfield, R.id.plusbutton, R.id.minusbutton, def, 0d, 150d, 5d, new DecimalFormat("0"), false);
|
||||
editCarbs = new PlusMinusEditText(view, R.id.amountfield, R.id.plusbutton, R.id.minusbutton, def, 0d, 150d, 1d, new DecimalFormat("0"), false);
|
||||
setLabelToPlusMinusView(view, "carbs");
|
||||
container.addView(view);
|
||||
return view;
|
||||
|
|
|
@ -96,7 +96,7 @@ public class TempTargetActivity extends ViewSelectorActivity {
|
|||
if (lowRange != null){
|
||||
def = SafeParse.stringToDouble(lowRange.editText.getText().toString());
|
||||
}
|
||||
lowRange = new PlusMinusEditText(view, R.id.amountfield, R.id.plusbutton, R.id.minusbutton, def, 72d, 180d, 10d, new DecimalFormat("0"), false);
|
||||
lowRange = new PlusMinusEditText(view, R.id.amountfield, R.id.plusbutton, R.id.minusbutton, def, 72d, 180d, 1d, new DecimalFormat("0"), false);
|
||||
} else {
|
||||
double def = 5.5;
|
||||
if (lowRange != null){
|
||||
|
|
Loading…
Reference in a new issue