#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 e1c77b1775
commit 4ab02023dd
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)