Cleanup ConversationReactionOverlay

This commit is contained in:
Andrew 2024-02-18 02:21:39 +10:30
parent d33de9cf6b
commit c5c3365b18

View File

@ -129,10 +129,7 @@ class ConversationReactionOverlay : FrameLayout {
selectedConversationModel: SelectedConversationModel, selectedConversationModel: SelectedConversationModel,
blindedPublicKey: String?) { blindedPublicKey: String?) {
job?.cancel() job?.cancel()
if (overlayState != OverlayState.HIDDEN) return
if (overlayState != OverlayState.HIDDEN) {
return
}
this.messageRecord = messageRecord this.messageRecord = messageRecord
this.selectedConversationModel = selectedConversationModel this.selectedConversationModel = selectedConversationModel
this.blindedPublicKey = blindedPublicKey this.blindedPublicKey = blindedPublicKey