Fix migration due to variable shadowing (#4689)

(cherry picked from commit 472ce5a5e4fb7bdc3f52e4db2d68a5749d59fee1)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SearchController.kt
This commit is contained in:
Ken Swenson 2021-03-21 19:47:17 -04:00 committed by Jobobby04
parent 12962b3486
commit 3a148c73ac

View File

@ -109,7 +109,8 @@ class SearchController(
return
}
newManga = manga
val dialog = MigrationDialog(manga, newManga ?: return, this)
val dialog =
MigrationDialog(this.manga ?: return, newManga ?: return, this)
dialog.targetController = this
dialog.showDialog(router)
}