diff options
author | ByteHamster <info@bytehamster.com> | 2022-03-05 10:43:31 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2022-03-05 10:43:31 +0100 |
commit | 32770fe8175c698586962558eb3cd4eb5cab09c7 (patch) | |
tree | 7fd39ce5680f4527146976c1e621302e30ec3ec7 /ui/common | |
parent | 42e36328e3bb6d4bda632da7586fdace912a34e0 (diff) | |
download | AntennaPod-32770fe8175c698586962558eb3cd4eb5cab09c7.zip |
Refresh timeline when resetting statistics
Diffstat (limited to 'ui/common')
-rw-r--r-- | ui/common/src/main/java/de/danoeh/antennapod/ui/common/PagedToolbarFragment.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/common/src/main/java/de/danoeh/antennapod/ui/common/PagedToolbarFragment.java b/ui/common/src/main/java/de/danoeh/antennapod/ui/common/PagedToolbarFragment.java index 118d2ffb2..cbdd789db 100644 --- a/ui/common/src/main/java/de/danoeh/antennapod/ui/common/PagedToolbarFragment.java +++ b/ui/common/src/main/java/de/danoeh/antennapod/ui/common/PagedToolbarFragment.java @@ -29,6 +29,9 @@ public abstract class PagedToolbarFragment extends Fragment { this.viewPager = viewPager; toolbar.setOnMenuItemClickListener(item -> { + if (this.onOptionsItemSelected(item)) { + return true; + } Fragment child = getChildFragmentManager().findFragmentByTag("f" + viewPager.getCurrentItem()); if (child != null) { return child.onOptionsItemSelected(item); |