Fix newsletter bug
This commit is contained in:
parent
97c2a63387
commit
968b3415d2
1 changed files with 1 additions and 2 deletions
|
@ -86,6 +86,7 @@ class _NewsletterState extends State<Newsletter> {
|
|||
var emailQuery = emailController.text;
|
||||
subscribe(emailQuery).then((status) {
|
||||
if (status == 200) {
|
||||
emailController.clear();
|
||||
return showDialog(
|
||||
context: context,
|
||||
barrierDismissible: false,
|
||||
|
@ -114,8 +115,6 @@ class _NewsletterState extends State<Newsletter> {
|
|||
}
|
||||
);
|
||||
}
|
||||
|
||||
emailController.clear();
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue