From fc32fdd9f378937ee398c80a60d3adb7195a0483 Mon Sep 17 00:00:00 2001 From: Christien Rioux Date: Wed, 11 Oct 2023 23:12:10 -0400 Subject: [PATCH] move validate --- lib/components/scan_invite_dialog.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/components/scan_invite_dialog.dart b/lib/components/scan_invite_dialog.dart index 75425cc..a506bcf 100644 --- a/lib/components/scan_invite_dialog.dart +++ b/lib/components/scan_invite_dialog.dart @@ -369,10 +369,10 @@ class ScanInviteDialogState extends ConsumerState { : () async { final inviteData = await pasteQRImage(context); if (inviteData != null) { + await validateInviteData(inviteData: inviteData); setState(() { scanned = true; }); - await validateInviteData(inviteData: inviteData); } }, child: Text(translate('scan_invite_dialog.paste'))),