Revert chapter equals method

This commit is contained in:
len 2017-08-26 12:50:52 +02:00
parent c0d7b16ee6
commit 71fc6fc257
2 changed files with 2 additions and 5 deletions

View File

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

View File

@ -37,7 +37,7 @@ fun syncChaptersWithSource(db: DatabaseHelper,
}
}
// Chapters from the db not in the source.
// Chapters from the source not in db.
val toAdd = mutableListOf<Chapter>()
// Chapters whose metadata have changed.