gui/components/NsfwToggle

The header NSFW switch. The whole app defaults to SFW; this is the only control that lets adult content through (it flips settings.includeAdult, which the engine gates on). Turning it ON requires an explicit confirmation; turning it OFF is immediate. The choice rides in settings and so is remembered in this browser.

In the online build the switch is locked: it renders greyed with a tooltip and, when clicked, opens the full-version page instead of toggling (adult content needs the local desktop app).

Description:
  • The header NSFW switch. The whole app defaults to SFW; this is the only control that lets adult content through (it flips settings.includeAdult, which the engine gates on). Turning it ON requires an explicit confirmation; turning it OFF is immediate. The choice rides in settings and so is remembered in this browser.

    In the online build the switch is locked: it renders greyed with a tooltip and, when clicked, opens the full-version page instead of toggling (adult content needs the local desktop app).

Source: