Merge pull request #5874 from ByteHamster/fix-share

Fix share button on 'all episodes' page
This commit is contained in:
ByteHamster 2022-05-07 20:20:12 +02:00 committed by GitHub
commit f78daaafc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

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.
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) {
Log.i(TAG, "Selected item or listAdapter was null, ignoring selection");
return super.onContextItemSelected(item);