From 3bc3f417ac0ae102734061512ed452915e722dba Mon Sep 17 00:00:00 2001 From: Jay Date: Sun, 3 May 2020 13:13:14 -0400 Subject: [PATCH] Search by author via tap --- .../java/eu/kanade/tachiyomi/ui/manga/MangaHeaderHolder.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaHeaderHolder.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaHeaderHolder.kt index 598d5d550a..b51a1803bc 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaHeaderHolder.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaHeaderHolder.kt @@ -86,6 +86,9 @@ class MangaHeaderHolder( adapter.delegate.copyToClipboard(title.text.toString(), R.string.title) true } + manga_author.setOnClickListener { + manga_author.text?.let { adapter.delegate.globalSearch(it.toString()) } + } manga_author.setOnLongClickListener { adapter.delegate.copyToClipboard(manga_author.text.toString(), R.string.author) true