fix broken merge

This commit is contained in:
Dominic Drees 2025-04-22 17:48:43 +02:00
parent 2127b3b9e6
commit 2bf3ad5cc3

View file

@ -15,6 +15,8 @@ import MediaPlayer
class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDelegate {
let module: ScrapingModule
let continueWatchingManager: ContinueWatchingManager
let streamURL: String
let fullUrl: String
let titleText: String
@ -160,6 +162,7 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
var volumeSliderHostingView: UIView?
init(module: ScrapingModule,
continueWatchingManager: ContinueWatchingManager,
urlString: String,
fullUrl: String,
title: String,
@ -170,6 +173,7 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
episodeImageUrl: String) {
self.module = module
self.continueWatchingManager = continueWatchingManager
self.streamURL = urlString
self.fullUrl = fullUrl
self.titleText = title
@ -1327,7 +1331,7 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
aniListID: self.aniListID,
module: self.module
)
ContinueWatchingManager.shared.save(item: item)
self.continueWatchingManager.save(item: item)
}