diff --git a/ec3730/Views/Host/HostBarView.swift b/ec3730/Views/Host/HostBarView.swift index 294cbc7..f893ccd 100644 --- a/ec3730/Views/Host/HostBarView.swift +++ b/ec3730/Views/Host/HostBarView.swift @@ -41,11 +41,6 @@ struct HostBarView: View { Spacer() } } - .background( - VisualEffectView(effect: UIBlurEffect(style: .systemMaterial)) - .ignoresSafeArea(.all, edges: .horizontal) - ) - .ignoresSafeArea() .confirmationDialog("Information", isPresented: $showInfo) { Button(action: { UIPasteboard.general.string = url.absoluteString @@ -57,7 +52,10 @@ struct HostBarView: View { }, label: { Label("Copy Date", systemImage: "doc.on.doc") }) - } + }.background( + VisualEffectView(effect: UIBlurEffect(style: .systemMaterial)) + .ignoresSafeArea() + ) } } diff --git a/ec3730/Views/Host/HostResult.swift b/ec3730/Views/Host/HostResult.swift index 5b8585f..dead326 100644 --- a/ec3730/Views/Host/HostResult.swift +++ b/ec3730/Views/Host/HostResult.swift @@ -29,9 +29,9 @@ struct HostResult: View { } } } + }.safeAreaInset(edge: .bottom) { + HostBarView(url: group.url, date: group.date) } - .background(Color(UIColor.systemGroupedBackground)) - HostBarView(url: group.url, date: group.date) } .background(Color(UIColor.systemGroupedBackground)) .padding(.top, 0.15) diff --git a/ec3730/Views/Host/HostViewSectionFocusView.swift b/ec3730/Views/Host/HostViewSectionFocusView.swift index 5f2f32d..eefd7c5 100644 --- a/ec3730/Views/Host/HostViewSectionFocusView.swift +++ b/ec3730/Views/Host/HostViewSectionFocusView.swift @@ -9,8 +9,9 @@ struct HostViewSectionFocusView: View { VStack(spacing: 0) { ScrollView { HostViewSectionContent(sectionModel: model, canQuery: true) + }.safeAreaInset(edge: .bottom) { + HostBarView(url: url, date: date) } - HostBarView(url: url, date: date) } .navigationTitle(model.service.name) .navigationBarTitleDisplayMode(.inline)