Fix manga info screen completely breaking on some sources

This commit is contained in:
NerdNumber9 2019-04-18 21:04:20 -04:00
parent 66b92f3eb7
commit f0109aa796
3 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ open class MangaImpl : Manga {
override lateinit var url: String
override lateinit var title: String
override var title: String = ""
override var artist: String? = null

View File

@ -24,7 +24,7 @@ interface SManga : Serializable {
fun copyFrom(other: SManga) {
// EXH -->
url = other.url // Allow dynamically mutating one manga into another
if(other.title.isNotBlank())
title = other.title
// EXH <--

View File

@ -4,7 +4,7 @@ class SMangaImpl : SManga {
override lateinit var url: String
override lateinit var title: String
override var title: String = ""
override var artist: String? = null