This commit is contained in:
David Roman 2023-06-03 14:57:12 +01:00
parent 5c7fbfa262
commit c4889a0004
No known key found for this signature in database
GPG Key ID: 7058646EEFCB70A7
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ extension tvOSViewVersion<SearchFieldType, UISearchBar> {
private static var selector: IntrospectionSelector<UISearchBar> {
.from(UINavigationController.self) {
$0.view.allDescendants.compactMap { $0 as? UISearchBar }.first
$0.view.allDescendants.lazy.compactMap { $0 as? UISearchBar }.first
}
}
}