From d35e02a464cfb063e60db6b99c4f592f04db622c Mon Sep 17 00:00:00 2001 From: OliE Date: Sun, 18 Feb 2018 12:56:53 +0100 Subject: [PATCH] skip date and time measurement view for the overview fragment --- .../com/health/openscale/gui/fragments/OverviewFragment.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android_app/app/src/main/java/com/health/openscale/gui/fragments/OverviewFragment.java b/android_app/app/src/main/java/com/health/openscale/gui/fragments/OverviewFragment.java index 99fd589e..565aa133 100644 --- a/android_app/app/src/main/java/com/health/openscale/gui/fragments/OverviewFragment.java +++ b/android_app/app/src/main/java/com/health/openscale/gui/fragments/OverviewFragment.java @@ -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); }