mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-20 00:59:24 +01:00
Open tracker page when clicking logo (closes #5624)
This commit is contained in:
parent
7d67450e58
commit
79da33b597
@ -50,6 +50,10 @@ class TrackHolder(private val binding: TrackItemBinding, adapter: TrackAdapter)
|
|||||||
|
|
||||||
if (track != null) {
|
if (track != null) {
|
||||||
val ctx = binding.trackTitle.context
|
val ctx = binding.trackTitle.context
|
||||||
|
|
||||||
|
binding.trackLogo.setOnClickListener {
|
||||||
|
listener.onOpenInBrowserClick(bindingAdapterPosition)
|
||||||
|
}
|
||||||
binding.trackTitle.text = track.title
|
binding.trackTitle.text = track.title
|
||||||
binding.trackChapters.text = track.last_chapter_read.toString()
|
binding.trackChapters.text = track.last_chapter_read.toString()
|
||||||
if (track.total_chapters > 0) {
|
if (track.total_chapters > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user