mirror of
https://github.com/cranci1/Sora.git
synced 2026-03-11 17:45:37 +00:00
OHHHH it was "CURRENT"
This commit is contained in:
parent
15c54b3d0c
commit
713046ce64
3 changed files with 2 additions and 6 deletions
|
|
@ -57,7 +57,7 @@ class AniListMutation {
|
|||
let variables: [String: Any] = [
|
||||
"mediaId": animeId,
|
||||
"progress": episodeNumber,
|
||||
"status": "WATCHING"
|
||||
"status": "CURRENT"
|
||||
]
|
||||
|
||||
let requestBody: [String: Any] = [
|
||||
|
|
|
|||
|
|
@ -1639,21 +1639,17 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
|
|||
isDimmed.toggle()
|
||||
dimButtonTimer?.invalidate()
|
||||
|
||||
// animate black overlay
|
||||
UIView.animate(withDuration: 0.25) {
|
||||
self.blackCoverView.alpha = self.isDimmed ? 1.0 : 0.4
|
||||
}
|
||||
|
||||
// fade controls instead of hiding
|
||||
UIView.animate(withDuration: 0.25) {
|
||||
for view in self.controlsToHide {
|
||||
view.alpha = self.isDimmed ? 0 : 1
|
||||
}
|
||||
// keep the dim button visible/in front
|
||||
self.dimButton.alpha = self.isDimmed ? 0 : 1
|
||||
}
|
||||
|
||||
// swap your trailing constraints on the dim‑button
|
||||
dimButtonToSlider.isActive = !isDimmed
|
||||
dimButtonToRight.isActive = isDimmed
|
||||
UIView.animate(withDuration: 0.25) { self.view.layoutIfNeeded() }
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
//
|
||||
|
||||
import SwiftUI
|
||||
@preconcurrency import WebKit
|
||||
import WebKit
|
||||
|
||||
private struct ModuleLink: Identifiable {
|
||||
let id = UUID()
|
||||
|
|
|
|||
Loading…
Reference in a new issue