Fix share button on 'all episodes' page

This commit is contained in:
ByteHamster 2022-05-07 11:11:41 +02:00
parent 5fdd7f671e
commit 69542a22e2

View File

@ -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);