Fix crash when selecting info for invalid message.

This commit is contained in:
Rashad Sookram
2022-02-14 09:36:57 -05:00
parent 6f5475fc94
commit 99d1671a50

View File

@@ -154,7 +154,6 @@ final class MenuState {
return builder.shouldShowCopyAction(!actionMessage && !remoteDelete && hasText)
.shouldShowDeleteAction(!hasInMemory && onlyContainsCompleteMessages(selectedParts))
.shouldShowDetailsAction(!conversationRecipient.isReleaseNotes())
.shouldShowReactions(!conversationRecipient.isReleaseNotes())
.build();
}