workaround against crash if article content is null
This commit is contained in:
parent
af3b289392
commit
d30854eae7
@ -117,7 +117,7 @@ public class ArticleFragment extends Fragment {
|
|||||||
cssOverride = "";
|
cssOverride = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
String articleContent = m_article.content;
|
String articleContent = m_article.content != null ? m_article.content : "";
|
||||||
|
|
||||||
Document doc = Jsoup.parse(articleContent);
|
Document doc = Jsoup.parse(articleContent);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user