We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ae6511 commit 5a075a0Copy full SHA for 5a075a0
Sources/ResponderChain/ResponderChain.swift
@@ -133,10 +133,9 @@ private struct FindResponderSibling<Tag: Hashable>: View {
133
var body: some View {
134
PlatformIntrospectionView(
135
selector: { introspectionView in
136
- guard let viewHost = Introspect.findViewHost(from: introspectionView) else {
137
- return nil
138
- }
139
- guard let superview = viewHost.superview,
+ guard
+ let viewHost = Introspect.findViewHost(from: introspectionView),
+ let superview = viewHost.superview,
140
let entryIndex = superview.subviews.firstIndex(of: viewHost),
141
entryIndex > 0
142
else {
0 commit comments