Skip to content

Commit

Permalink
Merge pull request #2 from nonameplum/bugfix/safe-area
Browse files Browse the repository at this point in the history
Safe area background fix
  • Loading branch information
nonameplum authored Nov 19, 2022
2 parents 331a6ff + 6885a86 commit 45009b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ The documentation for the latest release is available here:
* [main](https://nonameplum.github.io/SwiftUIModal/main/documentation/swiftuimodal/)
* [1.0.0](https://nonameplum.github.io/SwiftUIModal/1.0.0/documentation/swiftuimodal/)
* [1.0.1](https://nonameplum.github.io/SwiftUIModal/1.0.1/documentation/swiftuimodal/)
* [1.0.2](https://nonameplum.github.io/SwiftUIModal/1.0.2/documentation/swiftuimodal/)

## License

Expand Down
1 change: 1 addition & 0 deletions Sources/SwiftUIModal/BottomSheetView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public struct BottomSheetView<Content>: DismissableView where Content: View {
dismiss()
})
.opacity(show ? 1 : 0)
.ignoresSafeArea()
}
.contentShape(Rectangle())
.onAppear {
Expand Down

0 comments on commit 45009b6

Please sign in to comment.