From 173b44bbcee600c4ae36630b46fbbfd6d2e5b29a Mon Sep 17 00:00:00 2001 From: XavierChanth Date: Fri, 6 Dec 2024 16:34:41 -0500 Subject: [PATCH] fix: yeah I don't even know why I'm needing to do this - Apple app reviewers don't know how to read or hit a cancel button I guess. --- .../features/onboarding/widgets/activate_atsign_dialog.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/dart/npt_flutter/lib/features/onboarding/widgets/activate_atsign_dialog.dart b/packages/dart/npt_flutter/lib/features/onboarding/widgets/activate_atsign_dialog.dart index 179394dcf..bfb3d582e 100644 --- a/packages/dart/npt_flutter/lib/features/onboarding/widgets/activate_atsign_dialog.dart +++ b/packages/dart/npt_flutter/lib/features/onboarding/widgets/activate_atsign_dialog.dart @@ -129,6 +129,10 @@ class _ActivateAtsignDialogState extends State { }); } else { if (!mounted) return; + if (status == ActivationStatus.preparing) { + Navigator.of(context).pop(AtOnboardingResult.error(message: "@${jsonDecode(res.body)["message"]}")); + return; + } ScaffoldMessenger.of(context).showSnackBar( SnackBar( backgroundColor: Colors.red,