Fix crash when opening local feed (#7439)

This commit is contained in:
ByteHamster 2024-10-03 11:14:59 +02:00 committed by GitHub
parent 751c358337
commit 0220aab53a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ public class FeedItemlistFragment extends Fragment implements AdapterView.OnItem
viewBinding.toolbar.getMenu().findItem(R.id.visit_website_item).setVisible(false); viewBinding.toolbar.getMenu().findItem(R.id.visit_website_item).setVisible(false);
} }
if (feed.isLocalFeed()) { if (feed.isLocalFeed()) {
viewBinding.toolbar.getMenu().findItem(R.id.share_item).setVisible(false); viewBinding.toolbar.getMenu().findItem(R.id.share_feed).setVisible(false);
} }
if (feed.getState() == Feed.STATE_NOT_SUBSCRIBED) { if (feed.getState() == Feed.STATE_NOT_SUBSCRIBED) {
viewBinding.toolbar.getMenu().findItem(R.id.sort_items).setVisible(false); viewBinding.toolbar.getMenu().findItem(R.id.sort_items).setVisible(false);