rebased to master.

moved send now button to rhs.
changed send now button long press to short/normal press
This commit is contained in:
gavine99
2025-01-28 16:38:00 +11:00
parent 1113ed6bc0
commit 61087d0d50
2 changed files with 13 additions and 12 deletions
@@ -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) }
}
}