mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 08:04:45 +00:00
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