Merge pull request #3261 from archibishop/fix-removing-wrong-favourite-message
Fix removing wrong favourite message
This commit is contained in:
commit
e78e4d5656
|
@ -275,6 +275,9 @@ public class AllEpisodesFragment extends Fragment {
|
||||||
@Override
|
@Override
|
||||||
public boolean onContextItemSelected(MenuItem item) {
|
public boolean onContextItemSelected(MenuItem item) {
|
||||||
Log.d(TAG, "onContextItemSelected() called with: " + "item = [" + item + "]");
|
Log.d(TAG, "onContextItemSelected() called with: " + "item = [" + item + "]");
|
||||||
|
if (!getUserVisibleHint()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if(!isVisible()) {
|
if(!isVisible()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue