Skip to content

Commit

Permalink
1.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nathantannar4 committed Jan 21, 2025
1 parent 614e7d1 commit 4c54a28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let package = Package(
),
],
dependencies: [
.package(url: "https://github.com/nathantannar4/Engine", from: "1.9.3"),
.package(url: "https://github.com/nathantannar4/Engine", from: "1.9.5"),
.package(url: "https://github.com/nathantannar4/Turbocharger", from: "1.3.3"),
],
targets: [
Expand Down
6 changes: 3 additions & 3 deletions Sources/Transmission/Sources/PresentationLinkTransition.swift
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ extension PresentationLinkTransition {
}

if let resolution, #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
return .custom(identifier: identifier.toUIKit()) { context in
return .custom(identifier: identifier.toUIKit()) { [unowned presentationController] context in
let ctx = ResolutionContext(
containerTraitCollection: context.containerTraitCollection,
maximumDetentValue: context.maximumDetentValue,
Expand All @@ -393,7 +393,7 @@ extension PresentationLinkTransition {
let ctx = ResolutionContext(
containerTraitCollection: presentationController.traitCollection,
maximumDetentValue: maximumDetentValue,
idealDetentValue: {
idealDetentValue: { [unowned presentationController] in
idealResolution(presentationController)
}
)
Expand All @@ -417,7 +417,7 @@ extension PresentationLinkTransition {
let ctx = ResolutionContext(
containerTraitCollection: containerTraitCollection,
maximumDetentValue: maximumDetentValue,
idealDetentValue: {
idealDetentValue: { [unowned presentationController] in
idealResolution(presentationController)
}
)
Expand Down

0 comments on commit 4c54a28

Please sign in to comment.