mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 08:20:32 +05:30
commit
56b001828f
@ -104,7 +104,7 @@ class SearchAdapter(
|
|||||||
.show(childFragmentManager, VideoOptionsBottomSheet::class.java.name)
|
.show(childFragmentManager, VideoOptionsBottomSheet::class.java.name)
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
channelImage.setOnClickListener {
|
channelContainer.setOnClickListener {
|
||||||
NavigationHelper.navigateChannel(root.context, item.uploaderUrl)
|
NavigationHelper.navigateChannel(root.context, item.uploaderUrl)
|
||||||
}
|
}
|
||||||
watchProgress.setWatchProgressLength(videoId, item.duration!!)
|
watchProgress.setWatchProgressLength(videoId, item.duration!!)
|
||||||
|
@ -126,7 +126,7 @@ class VideosAdapter(
|
|||||||
ImageHelper.loadImage(video.uploaderAvatar, channelImage)
|
ImageHelper.loadImage(video.uploaderAvatar, channelImage)
|
||||||
channelName.text = video.uploaderName
|
channelName.text = video.uploaderName
|
||||||
|
|
||||||
channelImage.setOnClickListener {
|
channelContainer.setOnClickListener {
|
||||||
NavigationHelper.navigateChannel(root.context, video.uploaderUrl)
|
NavigationHelper.navigateChannel(root.context, video.uploaderUrl)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,9 +33,9 @@
|
|||||||
|
|
||||||
<de.hdodenhof.circleimageview.CircleImageView
|
<de.hdodenhof.circleimageview.CircleImageView
|
||||||
android:id="@+id/channel_image"
|
android:id="@+id/channel_image"
|
||||||
android:layout_width="50dp"
|
android:layout_width="45dp"
|
||||||
android:layout_height="50dp"
|
android:layout_height="45dp"
|
||||||
android:layout_gravity="center_horizontal" />
|
android:layout_gravity="center" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
@ -47,7 +47,7 @@
|
|||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/channel_name"
|
android:id="@+id/channel_name"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="start"
|
android:layout_gravity="start"
|
||||||
android:layout_marginTop="3.5dp"
|
android:layout_marginTop="3.5dp"
|
||||||
|
@ -89,6 +89,7 @@
|
|||||||
app:layout_constraintTop_toBottomOf="@id/video_title" />
|
app:layout_constraintTop_toBottomOf="@id/video_title" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
android:id="@+id/channel_container"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginHorizontal="8dp"
|
android:layout_marginHorizontal="8dp"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user