Fix player session restoration events

This commit is contained in:
ronaldheft
2022-08-19 16:36:56 -04:00
parent bf46c46fc0
commit 93cb27d324
7 changed files with 28 additions and 19 deletions
-4
View File
@@ -155,10 +155,6 @@ public class AbsDatabase: CAPPlugin {
call.reject("Failed to report synced media progress")
}
}
// If we're syncing progress with the server, we also have the UI ready
// This will restore the player to the last playback session
NotificationCenter.default.post(name: NSNotification.Name(PlayerEvents.playerUserInterfaceReady.rawValue), object: nil)
}
@objc func syncServerMediaProgressWithLocalMediaProgress(_ call: CAPPluginCall) {