Should fix crash with migration
This commit is contained in:
parent
892f64829b
commit
2e4120d436
1 changed files with 2 additions and 2 deletions
|
|
@ -91,9 +91,9 @@ class MigrationProcessAdapter(
|
||||||
if (items.size == 1) {
|
if (items.size == 1) {
|
||||||
item.manga.migrationStatus = MigrationStatus.MANGA_NOT_FOUND
|
item.manga.migrationStatus = MigrationStatus.MANGA_NOT_FOUND
|
||||||
item.manga.migrationJob.cancel()
|
item.manga.migrationJob.cancel()
|
||||||
item.manga.searchResult.initialize(null)
|
item.manga.searchResult.set(null)
|
||||||
sourceFinished()
|
sourceFinished()
|
||||||
notifyDataSetChanged()
|
notifyItemChanged(position)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
menuItemListener.removeManga(item)
|
menuItemListener.removeManga(item)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue