mirror of
https://github.com/cranci1/Sora.git
synced 2026-03-28 21:38:44 +00:00
seiike ahh moment
This commit is contained in:
parent
ef21614137
commit
69a8da58e7
1 changed files with 1 additions and 5 deletions
|
|
@ -11,7 +11,6 @@ import AVKit
|
|||
import SwiftUI
|
||||
import AVFoundation
|
||||
import MediaPlayer
|
||||
// MARK: - CustomMediaPlayerViewController
|
||||
|
||||
class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDelegate {
|
||||
let module: ScrapingModule
|
||||
|
|
@ -997,7 +996,6 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
|
|||
}
|
||||
|
||||
func setupSkipButtons() {
|
||||
// MARK: – Skip Intro Button
|
||||
skipIntroButton = UIButton(type: .system)
|
||||
let introConfig = UIImage.SymbolConfiguration(pointSize: 14, weight: .bold)
|
||||
let introImage = UIImage(systemName: "forward.frame", withConfiguration: introConfig)
|
||||
|
|
@ -1027,10 +1025,8 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
|
|||
)
|
||||
NSLayoutConstraint.activate([ skipIntroLeading, skipIntroBottom ])
|
||||
skipIntroButton.addTarget(self, action: #selector(skipIntro), for: .touchUpInside)
|
||||
skipIntroButton.addGestureRecognizer(UIPanGestureRecognizer(target: self,
|
||||
action: #selector(handleIntroPan(_:))))
|
||||
skipIntroButton.addGestureRecognizer(UIPanGestureRecognizer(target: self, action: #selector(handleIntroPan(_:))))
|
||||
|
||||
// MARK: – Skip Outro Button
|
||||
skipOutroButton = UIButton(type: .system)
|
||||
let outroConfig = UIImage.SymbolConfiguration(pointSize: 14, weight: .bold)
|
||||
let outroImage = UIImage(systemName: "forward.frame", withConfiguration: outroConfig)
|
||||
|
|
|
|||
Loading…
Reference in a new issue