Merge pull request #5874 from ByteHamster/fix-share
Fix share button on 'all episodes' page
This commit is contained in:
commit
f78daaafc0
@ -175,10 +175,6 @@ public abstract class EpisodesListFragment extends Fragment {
|
|||||||
// Apparently, none of the visibility check method works reliably on its own, so we just use all.
|
// Apparently, none of the visibility check method works reliably on its own, so we just use all.
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (item.getItemId() == R.id.share_item) {
|
|
||||||
return true; // avoids that the position is reset when we need it in the submenu
|
|
||||||
}
|
|
||||||
|
|
||||||
if (listAdapter.getLongPressedItem() == null) {
|
if (listAdapter.getLongPressedItem() == null) {
|
||||||
Log.i(TAG, "Selected item or listAdapter was null, ignoring selection");
|
Log.i(TAG, "Selected item or listAdapter was null, ignoring selection");
|
||||||
return super.onContextItemSelected(item);
|
return super.onContextItemSelected(item);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user