From b41ac355a0fecf6a0480d9af0f969754a392e6b0 Mon Sep 17 00:00:00 2001 From: curche <72807749+curche@users.noreply.github.com> Date: Wed, 2 Jun 2021 03:28:10 +0530 Subject: [PATCH] add long click to view manga in Migration Source Search (#5241) apparently was added to Sy in https://github.com/jobobby04/TachiyomiSY/commit/8686fecb1fe0f436e503f005de3e6218fe8f76d5 added it for main as well Co-Authored-By: jobobby04 fixes https://github.com/tachiyomiorg/tachiyomi/issues/5027 --- .../ui/browse/migration/search/SourceSearchController.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SourceSearchController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SourceSearchController.kt index cd21d66c9..ea50648f4 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SourceSearchController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/search/SourceSearchController.kt @@ -33,6 +33,11 @@ class SourceSearchController( dialog.showDialog(router) return true } + + override fun onItemLongClick(position: Int) { + view?.let { super.onItemClick(it, position) } + } + private companion object { const val MANGA_KEY = "oldManga" }