wip [skip ci]
This commit is contained in:
parent
4db85b6430
commit
c22ceb5666
|
@ -64,7 +64,7 @@ final class SearchFieldTests: XCTestCase {
|
|||
.introspect(.searchField, on: .iOS(.v15, .v16), .tvOS(.v15, .v16), customize: spy)
|
||||
#endif
|
||||
#if os(iOS)
|
||||
// NB: this is necessary for ancestor introspection to work, because initially on iPad the "Customized" text isn't shown as it's hidden in the sidebar. This is why ancestor introspection is discouraged for most situations and it's opt-in.
|
||||
// NB: this is necessary for introspection to work, because on iPad the search field is in the sidebar, which is initially hidden.
|
||||
.introspect(.navigationView(style: .columns), on: .iOS(.v13, .v14, .v15, .v16)) {
|
||||
$0.preferredDisplayMode = .oneOverSecondary
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ final class SearchFieldTests: XCTestCase {
|
|||
}
|
||||
.navigationViewStyle(DoubleColumnNavigationViewStyle())
|
||||
#if os(iOS)
|
||||
// NB: this is necessary for ancestor introspection to work, because initially on iPad the "Customized" text isn't shown as it's hidden in the sidebar. This is why ancestor introspection is discouraged for most situations and it's opt-in.
|
||||
// NB: this is necessary for introspection to work, because on iPad the search field is in the sidebar, which is initially hidden.
|
||||
.introspect(.navigationView(style: .columns), on: .iOS(.v13, .v14, .v15, .v16)) {
|
||||
$0.preferredDisplayMode = .oneOverSecondary
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue