mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Fix manga info screen completely breaking on some sources
This commit is contained in:
		@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -24,8 +24,8 @@ interface SManga : Serializable {
 | 
			
		||||
 | 
			
		||||
    fun copyFrom(other: SManga) {
 | 
			
		||||
        // EXH -->
 | 
			
		||||
        url = other.url // Allow dynamically mutating one manga into another
 | 
			
		||||
        title = other.title
 | 
			
		||||
        if(other.title.isNotBlank())
 | 
			
		||||
            title = other.title
 | 
			
		||||
        // EXH <--
 | 
			
		||||
 | 
			
		||||
        if (other.author != null)
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user