Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fix #7468 Bottom Bar Callout is blocking Cookie Consent Callout (#7469)
Browse files Browse the repository at this point in the history
  • Loading branch information
soner-yuksel committed May 16, 2023
1 parent cd08836 commit a7f3bbb
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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
}

Expand Down Expand Up @@ -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
}
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit a7f3bbb

Please sign in to comment.