diff --git a/Client/Frontend/Browser/HomePanel/FavoritesViewController.swift b/Client/Frontend/Browser/HomePanel/FavoritesViewController.swift index 024bc666386..893b0d8fdd9 100644 --- a/Client/Frontend/Browser/HomePanel/FavoritesViewController.swift +++ b/Client/Frontend/Browser/HomePanel/FavoritesViewController.swift @@ -258,7 +258,7 @@ class FavoritesViewController: UIViewController, Themeable { let showClaimRewards = Preferences.NewTabPage.attemptToShowClaimRewardsNotification.value && rewardsEnabled - && rewards.ledger.pendingPromotions.first != nil + && rewards.ledger.pendingPromotions.first?.type == .ads if showClaimRewards { return .claimRewards } diff --git a/Client/Frontend/NTP/ClaimRewardsNTPNotificationViewController.swift b/Client/Frontend/NTP/ClaimRewardsNTPNotificationViewController.swift index 73775384e44..f69b879eaa1 100644 --- a/Client/Frontend/NTP/ClaimRewardsNTPNotificationViewController.swift +++ b/Client/Frontend/NTP/ClaimRewardsNTPNotificationViewController.swift @@ -50,7 +50,8 @@ class ClaimRewardsNTPNotificationViewController: TranslucentBottomSheet { guard let rewards = (UIApplication.shared.delegate as? AppDelegate)? .browserViewController.rewards, - let promo = rewards.ledger.pendingPromotions.first else { + let promo = rewards.ledger.pendingPromotions.first, + promo.type == .ads else { return nil }