marinofaggiana 6 жил өмнө
parent
commit
422f6f1e53

+ 2 - 0
iOSClient/Viewer/NCViewerImagemeter.swift

@@ -186,6 +186,8 @@ class NCViewerImagemeter: NSObject {
                     audioPlayer.play()
 
                     durationPlayer = TimeInterval(audioPlayer.duration)
+                    counterSecondPlayer = 0
+                    timer.invalidate()
                     timer = Timer.scheduledTimer(timeInterval: 1, target: self, selector: #selector(updateTimer), userInfo: nil, repeats: true)
 
                 } catch {