From a247224c5045468e1dc119e2598479c878d33366 Mon Sep 17 00:00:00 2001 From: brave-builds Date: Sat, 23 Nov 2024 01:49:14 +0000 Subject: [PATCH] Uplift of #26706 (squashed) to beta --- .../Brave/Frontend/Browser/BrowserViewController/BVC+P3A.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/brave-ios/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+P3A.swift b/ios/brave-ios/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+P3A.swift index e228af862cfa..ff36151aae2c 100644 --- a/ios/brave-ios/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+P3A.swift +++ b/ios/brave-ios/Sources/Brave/Frontend/Browser/BrowserViewController/BVC+P3A.swift @@ -416,7 +416,7 @@ extension BrowserViewController { func maybeRecordBraveSearchDailyUsage(url: URL) { let braveSearchHost = "search.brave.com" let braveSearchPath = "/search" - if url.host() != braveSearchHost || url.path() != braveSearchPath { + if url.host != braveSearchHost || url.path != braveSearchPath { return } UmaHistogramBoolean("Brave.Search.BraveDaily", true)