mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-20 16:12:50 +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
|
@State private var activeFetchID: UUID? = nil
|
||||||
@Environment(\.dismiss) private var dismiss
|
@Environment(\.dismiss) private var dismiss
|
||||||
|
|
||||||
@State private var orientationChanged: Bool = false
|
|
||||||
@State private var showLoadingAlert: Bool = false
|
@State private var showLoadingAlert: Bool = false
|
||||||
|
|
||||||
private var isGroupedBySeasons: Bool {
|
private var isGroupedBySeasons: Bool {
|
||||||
|
|
@ -426,13 +425,13 @@ struct MediaInfoView: View {
|
||||||
.padding()
|
.padding()
|
||||||
.navigationBarTitleDisplayMode(.inline)
|
.navigationBarTitleDisplayMode(.inline)
|
||||||
.navigationBarTitle("")
|
.navigationBarTitle("")
|
||||||
.navigationViewStyle(StackNavigationViewStyle())
|
|
||||||
}
|
}
|
||||||
.onDisappear {
|
.onDisappear {
|
||||||
activeFetchID = nil
|
activeFetchID = nil
|
||||||
isFetchingEpisode = false
|
isFetchingEpisode = false
|
||||||
showStreamLoadingView = false
|
showStreamLoadingView = false
|
||||||
}
|
}
|
||||||
|
.navigationViewStyle(StackNavigationViewStyle())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.onAppear {
|
.onAppear {
|
||||||
|
|
@ -464,9 +463,6 @@ struct MediaInfoView: View {
|
||||||
AnalyticsManager.shared.sendEvent(event: "search", additionalData: ["title": title])
|
AnalyticsManager.shared.sendEvent(event: "search", additionalData: ["title": title])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.onReceive(NotificationCenter.default.publisher(for: UIDevice.orientationDidChangeNotification)) { _ in
|
|
||||||
orientationChanged.toggle()
|
|
||||||
}
|
|
||||||
.alert("Loading Stream", isPresented: $showLoadingAlert) {
|
.alert("Loading Stream", isPresented: $showLoadingAlert) {
|
||||||
Button("Cancel", role: .cancel) {
|
Button("Cancel", role: .cancel) {
|
||||||
activeFetchID = nil
|
activeFetchID = nil
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue