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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user