mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-26 14:09:58 +00:00
Make message footer clickable when there's an error.
This commit is contained in:
@@ -632,6 +632,9 @@ open class V2ConversationItemTextOnlyViewHolder<Model : MappingModel<Model>>(
|
||||
}
|
||||
|
||||
binding.footerDate.setText(errorMessage)
|
||||
binding.footerDate.setOnClickListener {
|
||||
conversationContext.clickListener.onMessageWithErrorClicked(record)
|
||||
}
|
||||
} else if (record.isPendingInsecureSmsFallback) {
|
||||
binding.footerDate.setText(R.string.ConversationItem_click_to_approve_unencrypted)
|
||||
} else if (record.isRateLimited) {
|
||||
|
||||
Reference in New Issue
Block a user