mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-21 08:32:00 +00:00
test
This commit is contained in:
parent
8dbc7e6591
commit
448e3a0947
1 changed files with 5 additions and 1 deletions
|
|
@ -58,6 +58,8 @@ struct MediaInfoView: View {
|
||||||
@State private var activeFetchID: UUID? = nil
|
@State private var activeFetchID: UUID? = nil
|
||||||
@Environment(\.dismiss) private var dismiss
|
@Environment(\.dismiss) private var dismiss
|
||||||
|
|
||||||
|
@State private var orientationChanged: Bool = false
|
||||||
|
|
||||||
private var isGroupedBySeasons: Bool {
|
private var isGroupedBySeasons: Bool {
|
||||||
return groupedEpisodes().count > 1
|
return groupedEpisodes().count > 1
|
||||||
}
|
}
|
||||||
|
|
@ -450,6 +452,9 @@ struct MediaInfoView: View {
|
||||||
}
|
}
|
||||||
selectedRange = 0..<episodeChunkSize
|
selectedRange = 0..<episodeChunkSize
|
||||||
}
|
}
|
||||||
|
.onReceive(NotificationCenter.default.publisher(for: UIDevice.orientationDidChangeNotification)) { _ in
|
||||||
|
orientationChanged.toggle()
|
||||||
|
}
|
||||||
|
|
||||||
if showStreamLoadingView {
|
if showStreamLoadingView {
|
||||||
VStack(spacing: 16) {
|
VStack(spacing: 16) {
|
||||||
|
|
@ -468,7 +473,6 @@ struct MediaInfoView: View {
|
||||||
.padding(.vertical, 8)
|
.padding(.vertical, 8)
|
||||||
.padding(.horizontal, 24)
|
.padding(.horizontal, 24)
|
||||||
.background(
|
.background(
|
||||||
// Hex #FF705E
|
|
||||||
Color(red: 1.0, green: 112/255.0, blue: 94/255.0)
|
Color(red: 1.0, green: 112/255.0, blue: 94/255.0)
|
||||||
)
|
)
|
||||||
.foregroundColor(.white)
|
.foregroundColor(.white)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue