From a7f3bbb21754a817f2cb7f791830ff2cc58cbe29 Mon Sep 17 00:00:00 2001 From: Soner YUKSEL Date: Tue, 16 May 2023 12:43:27 -0400 Subject: [PATCH] Fix #7468 Bottom Bar Callout is blocking Cookie Consent Callout (#7469) --- .../BrowserViewController+Callout.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Sources/Brave/Frontend/Browser/BrowserViewController/BrowserViewController+Callout.swift b/Sources/Brave/Frontend/Browser/BrowserViewController/BrowserViewController+Callout.swift index 76515ab0925..d57c3597bda 100644 --- a/Sources/Brave/Frontend/Browser/BrowserViewController/BrowserViewController+Callout.swift +++ b/Sources/Brave/Frontend/Browser/BrowserViewController/BrowserViewController+Callout.swift @@ -47,7 +47,7 @@ extension BrowserViewController { // MARK: Conditional Callout Methods private func presentP3AScreenCallout() { - // Check the blockCookieConsentNotices callout can be shown + // Check the p3a callout can be shown guard shouldShowCallout(calloutType: .p3a) else { return } @@ -93,8 +93,8 @@ extension BrowserViewController { private func presentBottomBarCallout() { guard traitCollection.userInterfaceIdiom == .phone else { return } - // Check the blockCookieConsentNotices callout can be shown - guard shouldShowCallout(calloutType: .blockCookieConsentNotices) else { + // Check the bottom bar callout can be shown + guard shouldShowCallout(calloutType: .bottomBar) else { return } @@ -163,7 +163,7 @@ extension BrowserViewController { } private func presentDefaultBrowserScreenCallout() { - // Check the blockCookieConsentNotices callout can be shown + // Check the defaultbrowser callout can be shown guard shouldShowCallout(calloutType: .defaultBrowser) else { return } @@ -201,7 +201,7 @@ extension BrowserViewController { } private func presentBraveRewardsScreenCallout() { - // Check the blockCookieConsentNotices callout can be shown + // Check the rewards callout can be shown guard shouldShowCallout(calloutType: .rewards) else { return }