Display duration of recorded voice message (#1733)

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
This commit is contained in:
jonnyandrew
2023-11-03 12:59:36 +00:00
committed by GitHub
parent 14dc8e1059
commit ddc1e1d0cc
12 changed files with 119 additions and 40 deletions
@@ -74,6 +74,7 @@ class FakeVoiceRecorder(
else -> VoiceRecorderState.Finished(
file = curRecording!!,
mimeType = "audio/ogg",
duration = recordingDuration,
waveform = waveform,
)
}