diff options
Diffstat (limited to 'ui/statistics')
-rw-r--r-- | ui/statistics/src/main/java/de/danoeh/antennapod/ui/statistics/subscriptions/StatisticsFilterDialog.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/statistics/src/main/java/de/danoeh/antennapod/ui/statistics/subscriptions/StatisticsFilterDialog.java b/ui/statistics/src/main/java/de/danoeh/antennapod/ui/statistics/subscriptions/StatisticsFilterDialog.java index 13ac3ab0f..93f8e7715 100644 --- a/ui/statistics/src/main/java/de/danoeh/antennapod/ui/statistics/subscriptions/StatisticsFilterDialog.java +++ b/ui/statistics/src/main/java/de/danoeh/antennapod/ui/statistics/subscriptions/StatisticsFilterDialog.java @@ -126,8 +126,10 @@ public class StatisticsFilterDialog { timestamps.add(date.getTimeInMillis()); } } - names.add(context.getString(R.string.statistics_today)); - timestamps.add(Long.MAX_VALUE); + if (inclusive) { + names.add(context.getString(R.string.statistics_today)); + timestamps.add(Long.MAX_VALUE); + } return new Pair<>(names.toArray(new String[0]), timestamps.toArray(new Long[0])); } } |