Fix migration due to variable shadowing (#4689)

This commit is contained in:
Ken Swenson 2021-03-21 19:47:17 -04:00 committed by GitHub
parent 99ba84c810
commit 472ce5a5e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,7 +59,7 @@ class SearchController(
override fun onMangaClick(manga: Manga) { override fun onMangaClick(manga: Manga) {
newManga = manga newManga = manga
val dialog = val dialog =
MigrationDialog(manga, newManga, this) MigrationDialog(this.manga, newManga, this)
dialog.targetController = this dialog.targetController = this
dialog.showDialog(router) dialog.showDialog(router)
} }