mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-23 16:53:04 +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:
@@ -475,11 +475,7 @@ public abstract class MeasurementView extends TableLayout {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (evaluatorRow.getVisibility() == View.VISIBLE) {
|
setExpand(evaluatorRow.getVisibility() != View.VISIBLE);
|
||||||
evaluatorRow.setVisibility(View.GONE);
|
|
||||||
} else {
|
|
||||||
evaluatorRow.setVisibility(View.VISIBLE);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user