From c4889a0004a9e7ece526d9b45bc751223770974c Mon Sep 17 00:00:00 2001 From: David Roman <2538074+davdroman@users.noreply.github.com> Date: Sat, 3 Jun 2023 14:57:12 +0100 Subject: [PATCH] wip --- Sources/ViewTypes/SearchField.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ViewTypes/SearchField.swift b/Sources/ViewTypes/SearchField.swift index f7c5c9f..37b509a 100644 --- a/Sources/ViewTypes/SearchField.swift +++ b/Sources/ViewTypes/SearchField.swift @@ -35,7 +35,7 @@ extension tvOSViewVersion { private static var selector: IntrospectionSelector { .from(UINavigationController.self) { - $0.view.allDescendants.compactMap { $0 as? UISearchBar }.first + $0.view.allDescendants.lazy.compactMap { $0 as? UISearchBar }.first } } }