Files
amethyst/desktopApp
Claude 3cef10ca9d fix(desktop): keep the Tor session bypass out of the saved settings
Audit follow-ups on the Tor splash escape:

- The "Use regular connection" bypass lived in AppInner's torSettings, which
  the in-app Tor settings dialog shows and saves, so saving any Tor toggle
  after a bypass persisted torType=OFF for good. The bypass is now a
  window-level torSessionBypassFlow; torSettings stays the user's saved
  choice and effectiveTorSettings drives the gate and relay routing. Saving
  Tor settings re-applies them and ends the bypass.
- Saving Tor settings from the splash no longer calls onRestartApp():
  nothing below the gate exists yet, and the rebuild only reset the splash's
  escape timer.
- Splash reuses connect_via_tor2 ("Tor Settings") instead of a duplicate key,
  uses app_logo for the icon description, and the explainer no longer claims
  every connection goes through Tor (the default preset does not).
- Drop the inline fully-qualified DesktopTorPreferences names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016HNwcGUk22pFsTSK3YqUek
2026-09-28 12:57:51 +00:00
..