hide nav bar in reader pres view
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user