mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Build on xcode 12
This commit is contained in:
@@ -112,9 +112,11 @@ class VoiceMessagePlaybackController: VoiceMessageAudioPlayerDelegate, VoiceMess
|
||||
audioPlayer.loadContentFromURL(url, displayName: attachment?.originalFileName)
|
||||
}
|
||||
|
||||
audioPlayer.seekToTime(self.duration * progress) { [weak self] _ in
|
||||
audioPlayer.seekToTime(self.duration * Double(progress)) { [weak self] _ in
|
||||
guard let self = self else { return }
|
||||
self.state = .paused
|
||||
if self.state == .stopped {
|
||||
self.state = .paused
|
||||
}
|
||||
self.updateUI()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user