summaryrefslogtreecommitdiff
path: root/ui/statistics
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2022-05-15 21:53:47 +0200
committerGitHub <noreply@github.com>2022-05-15 21:53:47 +0200
commit33fb5e1f14f305b8074b94b578842681d1a4e850 (patch)
tree5a2eea0d36e812b9cd64c4cf294be32f9ffcd8c9 /ui/statistics
parente63c8f81252a35a589cb730cf74641a3d9cfa345 (diff)
parent93f88650ad044b3bdc0f84a7444bd18262b4cf5c (diff)
downloadAntennaPod-33fb5e1f14f305b8074b94b578842681d1a4e850.zip
Merge pull request #5894 from ByteHamster/tiny-fixes
Tiny fixes
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);
});