summaryrefslogtreecommitdiff
path: root/ui/statistics
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2022-05-15 20:48:17 +0200
committerByteHamster <info@bytehamster.com>2022-05-15 20:48:17 +0200
commit93f88650ad044b3bdc0f84a7444bd18262b4cf5c (patch)
tree30c5fb9a03367fa01169b99accbacd56ac934f36 /ui/statistics
parent8b85e199221f4c4fb2a5bead2640d06cd94ebb06 (diff)
downloadAntennaPod-93f88650ad044b3bdc0f84a7444bd18262b4cf5c.zip
Actually filter by last year (eg Jan-Dec)
Diffstat (limited to 'ui/statistics')
-rw-r--r--ui/statistics/src/main/java/de/danoeh/antennapod/ui/statistics/subscriptions/StatisticsFilterDialog.java2
1 files changed, 1 insertions, 1 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 93f8e7715..567edd2bf 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
@@ -80,7 +80,7 @@ public class StatisticsFilterDialog {
dialogBinding.timeToSpinner.setSelection(filterDatesTo.first.length - 1);
});
dialogBinding.pastYearButton.setOnClickListener(v -> {
- dialogBinding.timeFromSpinner.setSelection(Math.max(0, filterDatesFrom.first.length - 13));
+ dialogBinding.timeFromSpinner.setSelection(Math.max(0, filterDatesFrom.first.length - 12));
dialogBinding.timeToSpinner.setSelection(filterDatesTo.first.length - 2);
});