Delete any existing temp file before replacing
This commit is contained in:
+2
@@ -923,6 +923,8 @@ open class ShortNotePostViewModel :
|
||||
}
|
||||
|
||||
fun selectVoiceRecording(recording: RecordingResult) {
|
||||
// Delete any existing temp file before replacing
|
||||
deleteVoiceLocalFile()
|
||||
voiceRecording = recording
|
||||
voiceLocalFile = recording.file
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user