Skip to content

Commit 371921a

Browse files
authored
Merge pull request #200 from cashapp/entin/unnecessary-import-check
2 parents e507592 + e1d7bb2 commit 371921a

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

Example/AccessibilitySnapshot/SwiftUIView.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
// limitations under the License.
1515
//
1616

17-
#if swift(>=5.1) && canImport(SwiftUI)
18-
1917
import SwiftUI
2018

2119
fileprivate struct Circle: View {
@@ -89,5 +87,3 @@ struct SwiftUIView_Previews: PreviewProvider {
8987
.previewLayout(.sizeThatFits)
9088
}
9189
}
92-
93-
#endif

Example/AccessibilitySnapshot/SwiftUIViewWithScrollView.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
// limitations under the License.
1515
//
1616

17-
#if swift(>=5.1) && canImport(SwiftUI)
18-
1917
import SwiftUI
2018

2119
/// A SwiftUI View inside a ScrollView will produce no accessibility elements for iOS 14.0 and 14.1, for more
@@ -34,5 +32,3 @@ struct SwiftUIViewWithScrollView_Previews: PreviewProvider {
3432
.previewLayout(.sizeThatFits)
3533
}
3634
}
37-
38-
#endif

0 commit comments

Comments
 (0)