mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 10:44:06 +00:00
Update watch history using background context
This commit is contained in:
@@ -80,6 +80,7 @@ final class PlayerModel: ObservableObject {
|
||||
}
|
||||
}}
|
||||
var context: NSManagedObjectContext = PersistenceController.shared.container.viewContext
|
||||
var backgroundContext = PersistenceController.shared.container.newBackgroundContext()
|
||||
|
||||
@Published var playingInPictureInPicture = false
|
||||
var pipController: AVPictureInPictureController?
|
||||
|
Reference in New Issue
Block a user