fix: NPE may be caused by the binding or the title that was null.

This commit is contained in:
aminecmi
2022-12-29 20:35:03 +01:00
parent cd20a5ec29
commit 966a082147
2 changed files with 40 additions and 46 deletions

View File

@ -6,7 +6,7 @@ class MercuryModel {
@Serializable
class ParsedContent(
val title: String,
val title: String?,
val content: String?,
val lead_image_url: String?,
val url: String