mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-12-02 18:19:21 +01:00
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>