Skip to content

Hide ad fallback text for premium users#1485

Draft
Copilot wants to merge 2 commits intodevelopfrom
copilot/fix-premium-user-ad-note
Draft

Hide ad fallback text for premium users#1485
Copilot wants to merge 2 commits intodevelopfrom
copilot/fix-premium-user-ad-note

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 31, 2026

ListItemAdElementAdBlockBackup renders "Get premium to remove the ad slots" unconditionally, even though the sibling NitroAdSlot already returns null for premium users via useAds(). This leaves the fallback text visible in an empty slot.

  • Add the same useAds() check to ListItemAdElementAdBlockBackup, returning null when shouldShowAds is false

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • download.cypress.io
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node index.js --exec install (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI linked an issue Mar 31, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Fix premium note displayed for premium users Hide ad fallback text for premium users Mar 31, 2026
Copilot AI requested a review from Ekwav March 31, 2026 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Go premium note still displayed for premium user

2 participants