Fix removing wrong favoruite message
This commit is contained in:
parent
1580e93b94
commit
782fce76d0
|
@ -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