Add ability to show manga when clicking item in migration search process (#7134)

This commit is contained in:
CVIUS 2022-05-19 10:35:27 +08:00 committed by GitHub
parent f4e344f686
commit bbb69482e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -138,7 +138,10 @@ class SearchController(
}
(targetController as? SearchController)?.copyManga(manga, newManga)
}
.setNeutralButton(android.R.string.cancel, null)
.setNeutralButton(activity?.getString(R.string.action_show_manga)) { _, _ ->
dismissDialog()
router.pushController(MangaController(newManga))
}
.create()
}
}