Remove sources in MoreInfo

v5 v5.4.2
Jéluchu 2 months ago
parent a846b2ef4c
commit 6f56611f18

@ -36,7 +36,6 @@ fun documentToMoreInfoEntity(doc: Document): MoreInfoEntity {
type = doc.getStringSafe("type"),
url = doc.getStringSafe("url"),
promo = doc.getDocumentSafe("promo")?.let { documentToVideoPromo(it) } ?: VideoPromo(),
source = doc.getStringSafe("source"),
duration = doc.getStringSafe("duration"),
rank = doc.getIntSafe("rank", 0),
titles = doc.getListSafe<Document>("titles").map { documentToAlternativeTitles(it) },

@ -23,7 +23,6 @@ data class MoreInfoEntity(
var type: String = "",
val url: String = "",
val promo: VideoPromo = VideoPromo(),
val source: String = "",
val duration: String = "",
val rank: Int = 0,
val titles: List<AlternativeTitles> = emptyList(),

Loading…
Cancel
Save