diff --git a/Client/Frontend/Browser/BrowserViewController.swift b/Client/Frontend/Browser/BrowserViewController.swift index 0aec1c807..7ec748b6b 100644 --- a/Client/Frontend/Browser/BrowserViewController.swift +++ b/Client/Frontend/Browser/BrowserViewController.swift @@ -228,8 +228,10 @@ class BrowserViewController: UIViewController { if let rewards = rewards { notificationsHandler = AdsNotificationHandler(ads: rewards.ads, presentingController: self) - notificationsHandler?.canShowNotifications = { - return !PrivateBrowsingManager.shared.isPrivateBrowsing + notificationsHandler?.canShowNotifications = { [weak self] in + guard let self = self else { return false } + return !PrivateBrowsingManager.shared.isPrivateBrowsing && + !self.topToolbar.inOverlayMode } notificationsHandler?.actionOccured = { [weak self] notification, action in guard let self = self else { return }