mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
commit
2aee00fb99
2 changed files with 2 additions and 1 deletions
|
@ -254,7 +254,8 @@ public abstract class ItemListFragment extends NbFragment implements OnScrollLis
|
|||
inflater.inflate(R.menu.context_story_oldest, menu);
|
||||
}
|
||||
|
||||
Story story = adapter.getStory(((AdapterView.AdapterContextMenuInfo) (menuInfo)).position);
|
||||
int truePosition = ((AdapterView.AdapterContextMenuInfo) menuInfo).position - 1;
|
||||
Story story = adapter.getStory(truePosition);
|
||||
if (story.read) {
|
||||
menu.removeItem(R.id.menu_mark_story_as_read);
|
||||
} else {
|
||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue