mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-30 03:30:30 +02:00
skip date and time measurement view for the overview fragment
This commit is contained in:
@@ -123,6 +123,10 @@ public class OverviewFragment extends Fragment implements FragmentUpdateListener
|
|||||||
measurementViews = MeasurementView.getMeasurementList(getContext());
|
measurementViews = MeasurementView.getMeasurementList(getContext());
|
||||||
|
|
||||||
for (MeasurementView measurement : measurementViews) {
|
for (MeasurementView measurement : measurementViews) {
|
||||||
|
if (measurement instanceof DateMeasurementView || measurement instanceof TimeMeasurementView) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
tableOverviewLayout.addView(measurement);
|
tableOverviewLayout.addView(measurement);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user