From bbb69482e1e2e39c62502a3caf03d13c59b01252 Mon Sep 17 00:00:00 2001 From: CVIUS <84634607+CVIUS@users.noreply.github.com> Date: Thu, 19 May 2022 10:35:27 +0800 Subject: [PATCH] Add ability to show manga when clicking item in migration search process (#7134) --- .../tachiyomi/ui/browse/migration/search/SearchController.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SearchController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SearchController.kt index f84c91a5a6..49c1c17b62 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SearchController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SearchController.kt @@ -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() } }