kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix issue where Story preview was not clickable.
rodzic
bdf7e5d367
commit
2452056cbe
|
@ -52,8 +52,12 @@ object StoriesLandingItem {
|
||||||
private class ViewHolder(itemView: View) : MappingViewHolder<Model>(itemView) {
|
private class ViewHolder(itemView: View) : MappingViewHolder<Model>(itemView) {
|
||||||
|
|
||||||
private val avatarView: AvatarView = itemView.findViewById(R.id.avatar)
|
private val avatarView: AvatarView = itemView.findViewById(R.id.avatar)
|
||||||
private val storyPreview: ThumbnailView = itemView.findViewById(R.id.story)
|
private val storyPreview: ThumbnailView = itemView.findViewById<ThumbnailView>(R.id.story).apply {
|
||||||
private val storyMulti: ThumbnailView = itemView.findViewById(R.id.story_multi)
|
isClickable = false
|
||||||
|
}
|
||||||
|
private val storyMulti: ThumbnailView = itemView.findViewById<ThumbnailView>(R.id.story_multi).apply {
|
||||||
|
isClickable = false
|
||||||
|
}
|
||||||
private val sender: TextView = itemView.findViewById(R.id.sender)
|
private val sender: TextView = itemView.findViewById(R.id.sender)
|
||||||
private val date: TextView = itemView.findViewById(R.id.date)
|
private val date: TextView = itemView.findViewById(R.id.date)
|
||||||
private val icon: ImageView = itemView.findViewById(R.id.icon)
|
private val icon: ImageView = itemView.findViewById(R.id.icon)
|
||||||
|
|
Ładowanie…
Reference in New Issue