fix(#433): address Gemini review (BuildContext async-gap + web download)
- LogExport.shareLogs/shareFile now resolve ScaffoldMessenger and l10n strings off the context BEFORE the flush await, and _exportFile takes them as values (no BuildContext use across the async gap; avoids a deactivated-ancestor crash on Back-during-flush). - Web download: append the anchor to the document before click() (Firefox needs a connected anchor) and revoke the object URL on a delay (synchronous revoke can abort the download in Safari/iOS). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>pull/436/head
parent
9aa83da995
commit
26e0cb3211
Loading…
Reference in new issue