diff --git a/DuckDuckGo/MainViewController.swift b/DuckDuckGo/MainViewController.swift index 8c27ecd4c6..f65abec8e5 100644 --- a/DuckDuckGo/MainViewController.swift +++ b/DuckDuckGo/MainViewController.swift @@ -2091,7 +2091,7 @@ extension MainViewController: OmniBarDelegate { switch accessoryType { case .chat: - let queryItem = currentTab?.url?.getQueryItems()?.filter{ $0.name == "q" }.first + let queryItem = currentTab?.url?.getQueryItems()?.filter { $0.name == "q" }.first openAIChat(queryItem) Pixel.fire(pixel: .openAIChatFromAddressBar) case .share: