fix(ios): remove resume logic in notification seek closure (#4068)
This commit is contained in:
parent
cd41a1b234
commit
c6ae17e41d
@ -167,9 +167,7 @@ class NowPlayingInfoCenterManager {
|
||||
return .commandFailed
|
||||
}
|
||||
if let event = event as? MPChangePlaybackPositionCommandEvent {
|
||||
player.seek(to: CMTime(seconds: event.positionTime, preferredTimescale: .max)) { _ in
|
||||
player.play()
|
||||
}
|
||||
player.seek(to: CMTime(seconds: event.positionTime, preferredTimescale: .max))
|
||||
return .success
|
||||
}
|
||||
return .commandFailed
|
||||
|
Loading…
Reference in New Issue
Block a user