Fix merge conflict

This commit is contained in:
ronaldheft 2022-08-22 18:12:00 -04:00
parent cdd2f40ef9
commit 06f87d24a7

View file

@ -123,7 +123,7 @@ class PlayerProgress {
}
}
private static func updateLocalSessionFromServerMediaProgress() async {
private func updateLocalSessionFromServerMediaProgress() async {
NSLog("updateLocalSessionFromServerMediaProgress: Checking if local media progress was updated on server")
guard let session = try! await Realm().objects(PlaybackSession.self).last(where: { $0.isActiveSession == true })?.freeze() else {
NSLog("updateLocalSessionFromServerMediaProgress: Failed to get session")