fix build
This commit is contained in:
parent
5c26c1ddb6
commit
cf1f31ab78
1 changed files with 2 additions and 2 deletions
|
@ -182,7 +182,7 @@ public class TimeListEdit {
|
||||||
numberPickers1[position].setTextWatcher(new TextWatcher() {
|
numberPickers1[position].setTextWatcher(new TextWatcher() {
|
||||||
@Override
|
@Override
|
||||||
public void afterTextChanged(Editable s) {
|
public void afterTextChanged(Editable s) {
|
||||||
Double value1 = SafeParse.INSTANCE.stringToDouble(numberPickers1[position].getText());
|
Double value1 = SafeParse.INSTANCE.stringToDouble(numberPickers1[position].getText(), 0.0);
|
||||||
Double value2 = value2(position);
|
Double value2 = value2(position);
|
||||||
if (data2 != null && value1 > value2) {
|
if (data2 != null && value1 > value2) {
|
||||||
value2 = value1;
|
value2 = value1;
|
||||||
|
@ -209,7 +209,7 @@ public class TimeListEdit {
|
||||||
@Override
|
@Override
|
||||||
public void afterTextChanged(Editable s) {
|
public void afterTextChanged(Editable s) {
|
||||||
Double value1 = value1(position);
|
Double value1 = value1(position);
|
||||||
Double value2 = SafeParse.INSTANCE.stringToDouble(numberPickers2[position].getText());
|
Double value2 = SafeParse.INSTANCE.stringToDouble(numberPickers2[position].getText(), 0.0);
|
||||||
if (data2 != null && value2 < value1) {
|
if (data2 != null && value2 < value1) {
|
||||||
value1 = value2;
|
value1 = value2;
|
||||||
numberPickers1[position].setValue(value1);
|
numberPickers1[position].setValue(value1);
|
||||||
|
|
Loading…
Reference in a new issue