Skip to content

Commit c20f951

Browse files
committed
Fix onDisappear modifier (fixes #230)
1 parent 7d775a2 commit c20f951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftCrossUI/Views/Modifiers/Lifecycle/OnDisappearModifier.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ extension View {
1010
}
1111
}
1212

13-
struct OnDisappearModifier<Content: View>: View {
13+
struct OnDisappearModifier<Content: View>: TypeSafeView {
1414
var body: TupleView1<Content>
1515
var action: @Sendable @MainActor () -> Void
1616

0 commit comments

Comments
 (0)