Build on xcode 12

This commit is contained in:
David Langley
2021-09-22 13:53:26 +01:00
parent f23cea6acc
commit 2b4cad4136
4 changed files with 13 additions and 13 deletions
@@ -172,7 +172,7 @@ public class VoiceMessageController: NSObject, VoiceMessageToolbarViewDelegate,
audioPlayer.loadContentFromURL(temporaryFileURL)
}
audioPlayer.seekToTime(duration * progress) { [weak self] _ in
audioPlayer.seekToTime(duration * Double(progress)) { [weak self] _ in
self?.updateUI()
}
}