This commit is contained in:
Bnyro 2022-07-19 21:37:52 +02:00
parent cbe7b4a87d
commit 721bca316a
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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=", "")