Commit c2e5c7a8 authored by Adizbek's avatar Adizbek

Fix imports && Swipe reply to attachment messages.

parent 61e21ec5
......@@ -838,9 +838,9 @@ class ChatRoomFragment : Fragment(), ChatRoomView, EmojiKeyboardListener, EmojiR
}
override fun getSwipeDirs(recyclerView: RecyclerView, viewHolder: RecyclerView.ViewHolder): Int {
// Current enable swipes for messages only
// Currently enable swipes for text and attachment messages only
if (viewHolder is MessageViewHolder) {
if (viewHolder is MessageViewHolder || viewHolder is AttachmentViewHolder) {
return super.getSwipeDirs(recyclerView, viewHolder)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment