mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2024-12-26 08:09:37 -05:00
move validate
This commit is contained in:
parent
5824929075
commit
fc32fdd9f3
@ -369,10 +369,10 @@ class ScanInviteDialogState extends ConsumerState<ScanInviteDialog> {
|
|||||||
: () async {
|
: () async {
|
||||||
final inviteData = await pasteQRImage(context);
|
final inviteData = await pasteQRImage(context);
|
||||||
if (inviteData != null) {
|
if (inviteData != null) {
|
||||||
|
await validateInviteData(inviteData: inviteData);
|
||||||
setState(() {
|
setState(() {
|
||||||
scanned = true;
|
scanned = true;
|
||||||
});
|
});
|
||||||
await validateInviteData(inviteData: inviteData);
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
child: Text(translate('scan_invite_dialog.paste'))),
|
child: Text(translate('scan_invite_dialog.paste'))),
|
||||||
|
Loading…
Reference in New Issue
Block a user