mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-11 01:21:56 +01:00
Remove default intent actions out of if-condition
This commit is contained in:
parent
202ae53d71
commit
60ed9ca373
@ -154,10 +154,10 @@ public abstract class AbstractChartFragment extends AbstractGBFragment {
|
|||||||
mIntentFilterActions = new HashSet<>();
|
mIntentFilterActions = new HashSet<>();
|
||||||
if (intentFilterActions != null) {
|
if (intentFilterActions != null) {
|
||||||
mIntentFilterActions.addAll(Arrays.asList(intentFilterActions));
|
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
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user