Search by author via tap

This commit is contained in:
Jay 2020-05-03 13:13:14 -04:00
parent 40464c0444
commit 3bc3f417ac

View File

@ -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