public fun removeOverlay() { threadMessagesState = threadMessagesState.copy(selectedMessageState = null) messagesState = messagesState.copy(selectedMessageState = null) }
Resets the [MessagesState]s, to remove the message overlay, by setting 'selectedMessage' to null.