{"version":"2.1.268","anchor":"web-setup-push-offer-eligibility-checks-consolidated-behind","canonical_anchor":"web-setup-push-offer-eligibility-checks-consolidated-behind","heading":"Web setup push-offer eligibility checks consolidated behind a() helper","tier":"internal","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.268\/e\/web-setup-push-offer-eligibility-checks-consolidated-behind","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.268","markdown":"### Web setup push-offer eligibility checks consolidated behind a() helper\n\nWeb setup push-offer logic consolidated into one shared eligibility check\n\n**What**\n\nThe checks that decide whether to show the 'web setup push offer' prompt (whether it was dismissed forever, already shown, shown too recently, or shown too many times) used to be four separate checks. They are now combined into a single shared helper function, used both by the code that decides whether to show the offer and by another function (`tun`), which now also skips its 'not connected' check when the helper says the offer is eligible.\n\n**Why**\n\nThis is an internal refactor that consolidates duplicated logic, making the push-offer eligibility rules consistent wherever they're checked.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5"}