Merge pull request #1447 from Andries-Smit/fix/wear-negative-time-offset
wear: support negative time offset ecarbs
This commit is contained in:
commit
97b002eb3c
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ public class ECarbActivity extends ViewSelectorActivity {
|
|||
if (editStartTime != null) {
|
||||
def = SafeParse.stringToDouble(editStartTime.editText.getText().toString());
|
||||
}
|
||||
editStartTime = new PlusMinusEditText(view, R.id.amountfield, R.id.plusbutton, R.id.minusbutton, def, 0d, 300d, 15d, new DecimalFormat("0"), false);
|
||||
editStartTime = new PlusMinusEditText(view, R.id.amountfield, R.id.plusbutton, R.id.minusbutton, def, -60d, 300d, 15d, new DecimalFormat("0"), false);
|
||||
setLabelToPlusMinusView(view, getString(R.string.action_start_min));
|
||||
container.addView(view);
|
||||
return view;
|
||||
|
|
Loading…
Reference in a new issue