mirror of
https://github.com/cranci1/Sora.git
synced 2026-03-11 17:45:37 +00:00
test view
This commit is contained in:
parent
b19a1bcada
commit
8aaa7111bf
1 changed files with 1 additions and 5 deletions
|
|
@ -58,7 +58,6 @@ struct MediaInfoView: View {
|
|||
@State private var activeFetchID: UUID? = nil
|
||||
@Environment(\.dismiss) private var dismiss
|
||||
|
||||
@State private var orientationChanged: Bool = false
|
||||
@State private var showLoadingAlert: Bool = false
|
||||
|
||||
private var isGroupedBySeasons: Bool {
|
||||
|
|
@ -426,13 +425,13 @@ struct MediaInfoView: View {
|
|||
.padding()
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
.navigationBarTitle("")
|
||||
.navigationViewStyle(StackNavigationViewStyle())
|
||||
}
|
||||
.onDisappear {
|
||||
activeFetchID = nil
|
||||
isFetchingEpisode = false
|
||||
showStreamLoadingView = false
|
||||
}
|
||||
.navigationViewStyle(StackNavigationViewStyle())
|
||||
}
|
||||
}
|
||||
.onAppear {
|
||||
|
|
@ -464,9 +463,6 @@ struct MediaInfoView: View {
|
|||
AnalyticsManager.shared.sendEvent(event: "search", additionalData: ["title": title])
|
||||
}
|
||||
}
|
||||
.onReceive(NotificationCenter.default.publisher(for: UIDevice.orientationDidChangeNotification)) { _ in
|
||||
orientationChanged.toggle()
|
||||
}
|
||||
.alert("Loading Stream", isPresented: $showLoadingAlert) {
|
||||
Button("Cancel", role: .cancel) {
|
||||
activeFetchID = nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue