> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# subflows/dismiss-offers.yaml

[Source](https://github.com/leapgame/leap-sim-piano/blob/f794b594016038c483e2d20b6af56aea0ae1b982/.maestro/subflows/dismiss-offers.yaml)

```yaml
appId: ${APP_ID}
---
# Closes what may open over the song list on its own: the subscription offers (the launch / home-return
# paywall, the 50% sale) and "Learn Mode unlocked!" (it opens once 3 songs are finished — a seeded
# `e2eSongEnds` count passes that at launch). Leaves the No Ads popup and the fake ads alone: the flows
# that care assert those.
- runFlow:
    when:
      visible:
        id: "learn-unlocked-close"
    commands:
      - tapOn:
          id: "learn-unlocked-close"
- runFlow:
    when:
      visible:
        id: "paywall-close"
    commands:
      - tapOn:
          id: "paywall-close"
- runFlow:
    when:
      visible:
        id: "sale-off-50-close"
    commands:
      - tapOn:
          id: "sale-off-50-close"
```
