1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-29 19:20:36 +02:00

skip date and time measurement view for the overview fragment

This commit is contained in:
OliE
2018-02-18 12:56:53 +01:00
parent 70438f67f6
commit d35e02a464

View File

@@ -123,6 +123,10 @@ public class OverviewFragment extends Fragment implements FragmentUpdateListener
measurementViews = MeasurementView.getMeasurementList(getContext());
for (MeasurementView measurement : measurementViews) {
if (measurement instanceof DateMeasurementView || measurement instanceof TimeMeasurementView) {
continue;
}
tableOverviewLayout.addView(measurement);
}