pull/433/head
gedoor 4 years ago
parent 17121a4604
commit 7792765e1b
  1. 7
      app/src/main/java/io/legado/app/data/entities/BookChapter.kt

@ -50,7 +50,12 @@ data class BookChapter(
override fun hashCode() = url.hashCode() override fun hashCode() = url.hashCode()
override fun equals(other: Any?) = if (other is BookChapter) other.url == url else false override fun equals(other: Any?): Boolean {
if (other is BookChapter) {
return other.url == url
}
return false
}
} }

Loading…
Cancel
Save