mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-05 00:59:55 +00:00
fix broken merge
This commit is contained in:
parent
2127b3b9e6
commit
2bf3ad5cc3
1 changed files with 5 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue