Skip to content

Commit

Permalink
fix: yeah I don't even know why I'm needing to do this
Browse files Browse the repository at this point in the history
- Apple app reviewers don't know how to read or hit a cancel button I
  guess.
  • Loading branch information
XavierChanth committed Dec 6, 2024
1 parent 421b2be commit 8fcb641
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ class _ActivateAtsignDialogState extends State<ActivateAtsignDialog> {
});
} 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,
Expand Down

0 comments on commit 8fcb641

Please sign in to comment.