fix(ios): remove resume logic in notification seek closure (#4068)

This commit is contained in:
Paul 2024-08-12 06:58:40 -05:00 committed by GitHub
parent cd41a1b234
commit c6ae17e41d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -167,9 +167,7 @@ class NowPlayingInfoCenterManager {
return .commandFailed return .commandFailed
} }
if let event = event as? MPChangePlaybackPositionCommandEvent { if let event = event as? MPChangePlaybackPositionCommandEvent {
player.seek(to: CMTime(seconds: event.positionTime, preferredTimescale: .max)) { _ in player.seek(to: CMTime(seconds: event.positionTime, preferredTimescale: .max))
player.play()
}
return .success return .success
} }
return .commandFailed return .commandFailed