mirror of
https://github.com/Ashinch/ReadYou.git
synced 2025-01-31 19:45:18 +01:00
fix NPE cased by absent article title when subscribing feed with local account (#532)
This commit is contained in:
parent
0800e838a4
commit
98934d1bab
@ -117,7 +117,7 @@ class RssHelper @Inject constructor(
|
||||
accountId = accountId,
|
||||
feedId = feed.id,
|
||||
date = syndEntry.publishedDate ?: syndEntry.updatedDate ?: Date(),
|
||||
title = Html.fromHtml(syndEntry.title.toString()).toString(),
|
||||
title = Html.fromHtml(syndEntry.title ?: feed.name).toString(),
|
||||
author = syndEntry.author,
|
||||
rawDescription = (content ?: desc) ?: "",
|
||||
shortDescription = (Readability4JExtended("", desc ?: content ?: "")
|
||||
|
Loading…
x
Reference in New Issue
Block a user