mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-24 10:32:46 +02:00
VB: Own code review
This commit is contained in:
@@ -104,8 +104,6 @@ class VoiceMessageAudioPlayer: NSObject {
|
||||
// audioPlayerDidFinishPlaying must be called on this last AVPlayerItem
|
||||
NotificationCenter.default.removeObserver(playToEndObserver as Any)
|
||||
playToEndObserver = NotificationCenter.default.addObserver(forName: Notification.Name.AVPlayerItemDidPlayToEndTime, object: playerItem, queue: nil) { [weak self] notification in
|
||||
MXLog.debug("[VoiceBroadcastPlaybackViewModel] audioPlayerDidFinishPlaying ")
|
||||
|
||||
guard let self = self else { return }
|
||||
|
||||
self.delegateContainer.notifyDelegatesWithBlock { delegate in
|
||||
|
||||
Reference in New Issue
Block a user