diff options
author | Xavier Gouchet <xavier.gouchet@gmail.com> | 2019-10-08 19:50:22 +0200 |
---|---|---|
committer | Xavier Gouchet <xavier.gouchet@gmail.com> | 2019-10-14 09:14:00 +0200 |
commit | 49660946f8c1a08b25e6a98d9662b4b73ebb3026 (patch) | |
tree | 2498eb898551cb1a8def5f8f6d71435721bc0e93 /app/src/main | |
parent | 4289933155a72f1dd6e89ead54f7add3a6145ef5 (diff) | |
download | AntennaPod-49660946f8c1a08b25e6a98d9662b4b73ebb3026.zip |
Disable the resetStatistics item when in countAll mode
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/fragment/preferences/StatisticsFragment.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/preferences/StatisticsFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/preferences/StatisticsFragment.java index 265fd6e5e..7cc9600d9 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/preferences/StatisticsFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/preferences/StatisticsFragment.java @@ -86,6 +86,7 @@ public class StatisticsFragment extends Fragment { @Override public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { inflater.inflate(R.menu.statistics, menu); + menu.findItem(R.id.statistics_reset).setEnabled(!countAll); } @Override |