Skip to content

Commit 5a075a0

Browse files
committed
Syntax
1 parent 0ae6511 commit 5a075a0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Sources/ResponderChain/ResponderChain.swift

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,9 @@ private struct FindResponderSibling<Tag: Hashable>: View {
133133
var body: some View {
134134
PlatformIntrospectionView(
135135
selector: { introspectionView in
136-
guard let viewHost = Introspect.findViewHost(from: introspectionView) else {
137-
return nil
138-
}
139-
guard let superview = viewHost.superview,
136+
guard
137+
let viewHost = Introspect.findViewHost(from: introspectionView),
138+
let superview = viewHost.superview,
140139
let entryIndex = superview.subviews.firstIndex(of: viewHost),
141140
entryIndex > 0
142141
else {

0 commit comments

Comments
 (0)