#4094 - Fixed flickering elapsed time labels and other tweaks.

This commit is contained in:
Stefan Ceriu
2021-07-14 14:40:54 +03:00
parent bcba0d2338
commit e3a025cfe0
4 changed files with 52 additions and 41 deletions
@@ -121,6 +121,10 @@ class VoiceMessageAudioPlayer: NSObject {
}
func stop() {
if isStopped {
return
}
isStopped = true
audioPlayer?.pause()
audioPlayer?.seek(to: .zero)