mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
fix crash
This commit is contained in:
parent
f0af6d8d8b
commit
e4ff1992c5
1 changed files with 1 additions and 0 deletions
|
@ -353,6 +353,7 @@ public abstract class ItemListFragment extends NbFragment implements OnScrollLis
|
|||
|
||||
int truePosition = ((AdapterView.AdapterContextMenuInfo) menuInfo).position - 1;
|
||||
Story story = adapter.getStory(truePosition);
|
||||
if (story == null) return;
|
||||
if (getFeedSet().isFilterSaved()) {
|
||||
menu.removeItem(R.id.menu_mark_story_as_read);
|
||||
menu.removeItem(R.id.menu_mark_story_as_unread);
|
||||
|
|
Loading…
Add table
Reference in a new issue