mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-13 13:00:40 +00:00
fixed some syntax and stuffs
This commit is contained in:
parent
cbddeb6eb0
commit
ac0507e615
2 changed files with 1 additions and 11 deletions
|
|
@ -109,14 +109,6 @@ struct MediaInfoView: View {
|
|||
.navigationBarTitleDisplayMode(.inline)
|
||||
.navigationBarTitle("")
|
||||
.ignoresSafeArea(.container, edges: .top)
|
||||
.onAppear {
|
||||
if let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene,
|
||||
let window = windowScene.windows.first,
|
||||
let navigationController = window.rootViewController?.children.first as? UINavigationController {
|
||||
navigationController.interactivePopGestureRecognizer?.isEnabled = true
|
||||
navigationController.interactivePopGestureRecognizer?.delegate = nil
|
||||
}
|
||||
}
|
||||
|
||||
VStack {
|
||||
HStack {
|
||||
|
|
@ -285,8 +277,6 @@ struct MediaInfoView: View {
|
|||
.onAppear {
|
||||
UIScrollView.appearance().bounces = true
|
||||
}
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
.navigationBarTitle("")
|
||||
.ignoresSafeArea(.container, edges: .top)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -124,6 +124,7 @@ struct SearchView: View {
|
|||
}
|
||||
.navigationBarHidden(true)
|
||||
}
|
||||
.navigationViewStyle(.stack)
|
||||
.onAppear {
|
||||
loadSearchHistory()
|
||||
if !searchQuery.isEmpty {
|
||||
|
|
@ -162,7 +163,6 @@ struct SearchView: View {
|
|||
}
|
||||
}
|
||||
}
|
||||
.navigationViewStyle(StackNavigationViewStyle())
|
||||
}
|
||||
|
||||
private func performSearch() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue