onArticleSelected: bail out if article is null
This commit is contained in:
parent
22d949f83c
commit
fae361370d
@ -179,6 +179,8 @@ public class HeadlinesActivity extends OnlineActivity implements HeadlinesEventL
|
||||
@Override
|
||||
public void onArticleSelected(Article article, boolean open) {
|
||||
|
||||
if (article == null) return;
|
||||
|
||||
if (article.unread) {
|
||||
article.unread = false;
|
||||
saveArticleUnread(article);
|
||||
|
Loading…
Reference in New Issue
Block a user