fixing message edits thinking there's an active voice recording
This commit is contained in:
parent
251c54ecfe
commit
56cfee572f
@ -58,10 +58,7 @@ data class MessageComposerViewState(
|
||||
VoiceMessageRecorderView.RecordingUiState.Started -> true
|
||||
}
|
||||
|
||||
val isVoiceMessageIdle = when (voiceRecordingUiState) {
|
||||
VoiceMessageRecorderView.RecordingUiState.None, VoiceMessageRecorderView.RecordingUiState.Cancelled -> false
|
||||
else -> true
|
||||
}
|
||||
val isVoiceMessageIdle = !isVoiceRecording
|
||||
|
||||
val isComposerVisible = canSendMessage && !isVoiceRecording
|
||||
val isVoiceMessageRecorderVisible = canSendMessage && !isSendButtonVisible
|
||||
|
Loading…
Reference in New Issue
Block a user