summaryrefslogtreecommitdiff
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
parente63c8f81252a35a589cb730cf74641a3d9cfa345 (diff)
parent93f88650ad044b3bdc0f84a7444bd18262b4cf5c (diff)
downloadAntennaPod-33fb5e1f14f305b8074b94b578842681d1a4e850.zip
Merge pull request #5894 from ByteHamster/tiny-fixes
Tiny fixes
-rw-r--r--app/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java1
-rw-r--r--ui/statistics/src/main/java/de/danoeh/antennapod/ui/statistics/subscriptions/StatisticsFilterDialog.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java b/app/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java
index 51fc63f86..0b713c305 100644
--- a/app/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java
+++ b/app/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java
@@ -234,6 +234,7 @@ public class NavListAdapter extends RecyclerView.Adapter<NavListAdapter.Holder>
// reset for re-use
holder.count.setVisibility(View.GONE);
holder.count.setOnClickListener(null);
+ holder.count.setClickable(false);
String tag = fragmentTags.get(position);
if (tag.equals(QueueFragment.TAG)) {
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);
});