From 782fce76d0e11a647cf82bd693cb2956bd48d1a1 Mon Sep 17 00:00:00 2001 From: Wagubi Brian Date: Wed, 10 Jul 2019 12:29:48 +0300 Subject: [PATCH] Fix removing wrong favoruite message --- .../de/danoeh/antennapod/fragment/AllEpisodesFragment.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/AllEpisodesFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/AllEpisodesFragment.java index 8f4e9f656..cdbb23985 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/AllEpisodesFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/AllEpisodesFragment.java @@ -275,6 +275,9 @@ public class AllEpisodesFragment extends Fragment { @Override public boolean onContextItemSelected(MenuItem item) { Log.d(TAG, "onContextItemSelected() called with: " + "item = [" + item + "]"); + if (!getUserVisibleHint()) { + return false; + } if(!isVisible()) { return false; }