mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Fixes #2845 - Fix voice message recoder not showing send message button
This commit is contained in:
@@ -373,6 +373,7 @@ class RoomScreenInteractionHandler {
|
||||
actionsSubject.send(.composer(action: .setMode(mode: .recordVoiceMessage(state: audioRecordState))))
|
||||
case .didStopRecording(let previewAudioPlayerState, let url):
|
||||
actionsSubject.send(.composer(action: .setMode(mode: .previewVoiceMessage(state: previewAudioPlayerState, waveform: .url(url), isUploading: false))))
|
||||
voiceMessageRecorderObserver = nil
|
||||
case .didFailWithError(let error):
|
||||
switch error {
|
||||
case .audioRecorderError(.recordPermissionNotGranted):
|
||||
@@ -397,7 +398,6 @@ class RoomScreenInteractionHandler {
|
||||
|
||||
func stopRecordingVoiceMessage() async {
|
||||
await voiceMessageRecorder.stopRecording()
|
||||
voiceMessageRecorderObserver = nil
|
||||
}
|
||||
|
||||
func cancelRecordingVoiceMessage() async {
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Fix voice message recoder not showing send message button
|
||||
Reference in New Issue
Block a user