From 60ed9ca3738d9e575c1bbbd14514bbae484c2d0b Mon Sep 17 00:00:00 2001 From: cpfeiffer Date: Fri, 7 Apr 2017 21:55:47 +0200 Subject: [PATCH] Remove default intent actions out of if-condition --- .../activities/charts/AbstractChartFragment.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/AbstractChartFragment.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/AbstractChartFragment.java index b5a4bad61..3e569fe19 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/AbstractChartFragment.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/charts/AbstractChartFragment.java @@ -154,10 +154,10 @@ public abstract class AbstractChartFragment extends AbstractGBFragment { mIntentFilterActions = new HashSet<>(); if (intentFilterActions != null) { mIntentFilterActions.addAll(Arrays.asList(intentFilterActions)); - mIntentFilterActions.add(ChartsHost.DATE_NEXT); - mIntentFilterActions.add(ChartsHost.DATE_PREV); - mIntentFilterActions.add(ChartsHost.REFRESH); } + mIntentFilterActions.add(ChartsHost.DATE_NEXT); + mIntentFilterActions.add(ChartsHost.DATE_PREV); + mIntentFilterActions.add(ChartsHost.REFRESH); } @Override