From 071dd88ef850c806d10748448ef9e5ff30c61db3 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) (cherry picked from commit bbb69482e1e2e39c62502a3caf03d13c59b01252) --- .../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 0c103d7feb..da481b72a6 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 @@ -129,7 +129,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() } }