shaps80 / SwiftUIBackports

A collection of SwiftUI backports for iOS, macOS, tvOS and watchOS
MIT License
960 stars 60 forks source link

Adds function with largestUndimmedDetent #39

Closed solchan87 closed 1 year ago

solchan87 commented 1 year ago

Have you read the Contributing Guidelines? Yes

Describe your changes

There is a problem that we cannot define largestUndimmedDetent when using presentationDetents. Since the default value of largestUndimmed is .large, a problem arises when the detents value is [.medium, .large].

shaps80 commented 1 year ago

LGTM