Skip to content

Commit

Permalink
Fix horizontal orientation in PageView
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanov91 committed Nov 15, 2022
1 parent 5c882e1 commit b416351
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Sources/OversizeUI/Controls/PageView/PageView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public struct PageView<Content, LeadingBar, TrailingBar, TopToolbar, TitleLabel>
trailingBar: { trailingBar },
bottomBar: { topToolbar },
titleLabel: { titleLabel })
.ignoresSafeArea(edges: .horizontal)
.zIndex(999_999_999)
}
ScrollViewOffset(offset: $offset) {
Expand Down
4 changes: 2 additions & 2 deletions Sources/OversizeUI/Extensions/HalfSheet/HalfSheet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ import SwiftUI
}
}
}

@_disfavoredOverload
func presentationDragIndicator(_ visibility: Visibility) -> some View {
func presentationDragIndicator(_: Visibility) -> some View {
self
}
}
Expand Down

0 comments on commit b416351

Please sign in to comment.