Files
swiftcontrol/test/widgets
Jonas Bark 5dbd091f27 Fix crash in Go Pro dialog when opener is unmounted
The dialog builder captured the caller's BuildContext for l10n lookups
and the purchase flow. When the widget that opened the dialog was
removed from the tree while the dialog was still showing (e.g. a
ConnectionCard remount), any rebuild of the dialog hit
AppLocalizations.of on the defunct context and crashed the isolate
with "Null check operator used on a null value" (l10n.dart:50 via
go_pro_dialog.dart:43, seen on Windows 6.0.0).

Use the dialog's own builder context instead, and guard the
post-purchase pop with a mounted check.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 21:41:23 +02:00
..
2026-05-10 11:10:22 +02:00