|
|
@ -31,10 +31,7 @@ class ChapterImpl : Chapter {
|
|
|
|
if (other == null || javaClass != other.javaClass) return false
|
|
|
|
if (other == null || javaClass != other.javaClass) return false
|
|
|
|
|
|
|
|
|
|
|
|
val chapter = other as Chapter
|
|
|
|
val chapter = other as Chapter
|
|
|
|
// Forces updates on manga if scanlator changes. This will allow existing manga in library
|
|
|
|
return url == chapter.url
|
|
|
|
// with scanlator to update.
|
|
|
|
|
|
|
|
return url == chapter.url && scanlator == chapter.scanlator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
override fun hashCode(): Int {
|
|
|
|
override fun hashCode(): Int {
|
|
|
|