diff --git a/presentation/src/main/java/com/moez/QKSMS/feature/compose/MessagesAdapter.kt b/presentation/src/main/java/com/moez/QKSMS/feature/compose/MessagesAdapter.kt index 58cdbd58..37f7513d 100644 --- a/presentation/src/main/java/com/moez/QKSMS/feature/compose/MessagesAdapter.kt +++ b/presentation/src/main/java/com/moez/QKSMS/feature/compose/MessagesAdapter.kt @@ -236,7 +236,7 @@ class MessagesAdapter @Inject constructor( holder.sendNowIcon.let { sendNowIcon -> val isCancellable = message.isSending() && message.date > System.currentTimeMillis() sendNowIcon.visibility = if (isCancellable) View.VISIBLE else View.GONE - sendNowIcon.longClicks().subscribe { sendNow.onNext(message.id) } + sendNowIcon.clicks().subscribe { sendNow.onNext(message.id) } } } diff --git a/presentation/src/main/res/layout/message_list_item_out.xml b/presentation/src/main/res/layout/message_list_item_out.xml index d34c67b8..33e4fe38 100644 --- a/presentation/src/main/res/layout/message_list_item_out.xml +++ b/presentation/src/main/res/layout/message_list_item_out.xml @@ -138,17 +138,6 @@ android:layout_height="match_parent" android:layout_weight="1" /> - - + +