From 026d3d8db22a2c28b16902e32521219a5cfcc8c9 Mon Sep 17 00:00:00 2001 From: Fernando Bunn Date: Thu, 19 Dec 2024 14:53:32 -0300 Subject: [PATCH] Linter --- DuckDuckGo/MainViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: