Skip to content

Commit

Permalink
Merge pull request #200 from cashapp/entin/unnecessary-import-check
Browse files Browse the repository at this point in the history
  • Loading branch information
NickEntin authored Jan 26, 2024
2 parents e507592 + e1d7bb2 commit 371921a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions Example/AccessibilitySnapshot/SwiftUIView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
// limitations under the License.
//

#if swift(>=5.1) && canImport(SwiftUI)

import SwiftUI

fileprivate struct Circle: View {
Expand Down Expand Up @@ -89,5 +87,3 @@ struct SwiftUIView_Previews: PreviewProvider {
.previewLayout(.sizeThatFits)
}
}

#endif
4 changes: 0 additions & 4 deletions Example/AccessibilitySnapshot/SwiftUIViewWithScrollView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
// limitations under the License.
//

#if swift(>=5.1) && canImport(SwiftUI)

import SwiftUI

/// A SwiftUI View inside a ScrollView will produce no accessibility elements for iOS 14.0 and 14.1, for more
Expand All @@ -34,5 +32,3 @@ struct SwiftUIViewWithScrollView_Previews: PreviewProvider {
.previewLayout(.sizeThatFits)
}
}

#endif

0 comments on commit 371921a

Please sign in to comment.