You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ErrorDialog.show("Failed to create invite", error.error!);
44
-
return;
45
-
}
46
-
Navigator.of(context).pop();
47
-
if(widget.user !=null) {
48
-
InfoDialog.show("Invite sent", "${widget.user?.name} got an invite to accept your share. Once they accept it they will have access to the shockers you shares. If you want to revoke the invite just cancel it in the Shares tab.");
49
-
} else {
50
-
ShareOrQrDialog.show("Invite created", "Share it with your friend! You can always do this at a later time via the Shares tab.", "I invite you to control my shockers. Here's the invite code: ${error.value}", "openshock://invite/${error.value}", "Scan to claim invite");
ErrorDialog.show("Failed to create invite", error.error!);
84
+
return;
85
+
}
86
+
Navigator.of(context).pop();
87
+
if (widget.user !=null) {
88
+
InfoDialog.show("Invite sent",
89
+
"${widget.user?.name} got an invite to accept your share. Once they accept it they will have access to the shockers you shares. If you want to revoke the invite just cancel it in the Shares tab.");
90
+
} else {
91
+
ShareOrQrDialog.show(
92
+
"Invite created",
93
+
"Share it with your friend! You can always do this at a later time via the Shares tab.",
94
+
"I invite you to control my shockers. Here's the invite code: ${error.value}",
0 commit comments