From 79da33b597728f93b24fd8461e7c3a63b41e49f0 Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 15 Aug 2021 10:38:10 -0400 Subject: [PATCH] Open tracker page when clicking logo (closes #5624) --- .../java/eu/kanade/tachiyomi/ui/manga/track/TrackHolder.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackHolder.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackHolder.kt index 1a8ec1837..1419de13d 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackHolder.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackHolder.kt @@ -50,6 +50,10 @@ class TrackHolder(private val binding: TrackItemBinding, adapter: TrackAdapter) if (track != null) { val ctx = binding.trackTitle.context + + binding.trackLogo.setOnClickListener { + listener.onOpenInBrowserClick(bindingAdapterPosition) + } binding.trackTitle.text = track.title binding.trackChapters.text = track.last_chapter_read.toString() if (track.total_chapters > 0) {