Programatically focus the main window when invoking the global search

This commit is contained in:
Stefan Ceriu
2026-03-30 13:01:38 +03:00
committed by Stefan Ceriu
parent a010306b41
commit ac5b61c973
3 changed files with 21 additions and 11 deletions
@@ -16,6 +16,6 @@ class SceneDelegate: NSObject, UIWindowSceneDelegate {
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
guard let windowScene = scene as? UIWindowScene else { return }
Self.windowManager.configure(with: windowScene)
Self.windowManager.configure(withScene: windowScene, session: session)
}
}