mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
hide nav bar in reader pres view
This commit is contained in:
parent
2991549413
commit
5de414fae9
2 changed files with 4 additions and 4 deletions
|
|
@ -60,7 +60,9 @@ public struct WebPreferencesPopoverView: View {
|
|||
}
|
||||
)
|
||||
}
|
||||
.padding()
|
||||
}
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
}
|
||||
|
||||
public var body: some View {
|
||||
|
|
@ -120,10 +122,9 @@ public struct WebPreferencesPopoverView: View {
|
|||
Spacer()
|
||||
}
|
||||
.padding()
|
||||
.navigationBarHidden(true)
|
||||
}
|
||||
.accentColor(.appGrayTextContrast)
|
||||
.navigationTitle("kmlm")
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -39,8 +39,7 @@ import SwiftUI
|
|||
|
||||
if UIDevice.isIPhone {
|
||||
if let sheet = controller.sheetPresentationController {
|
||||
// sheet.preferredCornerRadius = 32
|
||||
sheet.prefersGrabberVisible = true
|
||||
sheet.prefersGrabberVisible = false
|
||||
sheet.detents = [.medium()]
|
||||
sheet.widthFollowsPreferredContentSizeWhenEdgeAttached = true
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue