mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-24 14:15:54 +03:00
Open tracker page when clicking logo (closes #5624)
This commit is contained in:
parent
7d67450e58
commit
79da33b597
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue