mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 15:30:31 +05:30
cleanup
This commit is contained in:
parent
cbe7b4a87d
commit
721bca316a
@ -206,7 +206,7 @@ class SearchAdapter(
|
||||
searchDescription.text = item.name
|
||||
searchName.text = item.uploaderName
|
||||
if (item.videos?.toInt() != -1) {
|
||||
searchPlaylistNumber.text =
|
||||
searchPlaylistVideos.text =
|
||||
root.context.getString(R.string.videoCount, item.videos.toString())
|
||||
}
|
||||
root.setOnClickListener {
|
||||
|
@ -50,7 +50,7 @@ class TrendingAdapter(
|
||||
ConnectionHelper.loadImage(trending.uploaderAvatar, channelImage)
|
||||
|
||||
root.setOnClickListener {
|
||||
NavigationHelper.navigateChannel(root.context, trending.url)
|
||||
NavigationHelper.navigateVideo(root.context, trending.url)
|
||||
}
|
||||
root.setOnLongClickListener {
|
||||
val videoId = trending.url!!.replace("/watch?v=", "")
|
||||
|
Loading…
x
Reference in New Issue
Block a user