Guard against potential crash when reacting to a message.

This commit is contained in:
Greyson Parrelli
2026-04-01 11:35:56 -04:00
parent 7c45686440
commit 7320a0ef46
@@ -3949,6 +3949,10 @@ class ConversationFragment :
selectedConversationModel,
object : OnHideListener {
override fun startHide(focusedView: View?) {
if (!lifecycle.currentState.isAtLeast(Lifecycle.State.STARTED) || activity == null || activity?.isFinishing == true) {
return
}
multiselectItemDecoration.hideShade(binding.conversationItemRecycler)
ViewUtil.fadeOut(binding.reactionsShade, resources.getInteger(R.integer.reaction_scrubber_hide_duration), View.GONE)