Skip to content

Commit 5221f1e

Browse files
committed
Patch
1 parent 372726f commit 5221f1e

File tree

3 files changed

+52
-53
lines changed

3 files changed

+52
-53
lines changed

Package.resolved

Lines changed: 48 additions & 49 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ let package = Package(
2929
url: "https://github.com/FluidGroup/Rideau.git",
3030
.upToNextMajor(from: "2.1.0")
3131
),
32-
.package(url: "https://github.com/FluidGroup/swiftui-Hosting", from: "1.2.0"),
32+
.package(url: "https://github.com/FluidGroup/swiftui-Hosting", from: "2.0.0"),
3333
.package(url: "https://github.com/FluidGroup/swift-rubber-banding", from: "1.0.0"),
3434
],
3535
targets: [

Sources/FluidSnackbar/FloatingDisplayContext.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ extension FloatingDisplayContext {
5656

5757
}
5858

59-
private final class _HostingWrapperView: SnackbarDraggableBase {
59+
private final class _HostingWrapperView<Content: View>: SnackbarDraggableBase {
6060

61-
private let hostingView: SwiftUIHostingView
61+
private let hostingView: SwiftUIHostingView<Content>
6262

63-
init(hostingView: SwiftUIHostingView, onTap: @escaping @MainActor () -> Void) {
63+
init(hostingView: SwiftUIHostingView<Content>, onTap: @escaping @MainActor () -> Void) {
6464
self.hostingView = hostingView
6565
super.init(topMargin: .zero)
6666
contentView.addSubview(hostingView)

0 commit comments

Comments
 (0)