1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-23 08:43:15 +02:00

Don't show evaluator row when there's no value to evaluate

The row wasn't shown when clicking the button to show all evaluator
rows, but it was shown when clicking on a measurement row.
This commit is contained in:
Erik Johansson
2017-11-26 18:30:29 +01:00
parent e238133aa0
commit 92ab34ceef

View File

@@ -475,11 +475,7 @@ public abstract class MeasurementView extends TableLayout {
return;
}
if (evaluatorRow.getVisibility() == View.VISIBLE) {
evaluatorRow.setVisibility(View.GONE);
} else {
evaluatorRow.setVisibility(View.VISIBLE);
}
setExpand(evaluatorRow.getVisibility() != View.VISIBLE);
}
}