mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-11-01 09:09:51 +00:00
fix crash on long-used story lists
This commit is contained in:
parent
c74b52faf8
commit
995256fb31
1 changed files with 1 additions and 0 deletions
|
|
@ -434,6 +434,7 @@ public abstract class ItemListFragment extends NbFragment implements OnScrollLis
|
|||
|
||||
int truePosition = position - 1;
|
||||
Story story = adapter.getStory(truePosition);
|
||||
if (story == null) return; // can happen on shrinking lists
|
||||
if (getActivity().isFinishing()) return;
|
||||
UIUtils.startReadingActivity(getFeedSet(), story.storyHash, getActivity());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue