Avoid some crashes

This commit is contained in:
arkon
2022-04-14 18:28:16 -04:00
parent f16fb4e1e4
commit c1976ef599
2 changed files with 2 additions and 2 deletions
@@ -36,7 +36,7 @@ data class DownloadHeaderItem(
override fun equals(other: Any?): Boolean {
if (this === other) return true
if (other is DownloadHeaderItem) {
return name == other.name
return id == other.id && name == other.name
}
return false
}