Remove focus on subscribe after submit
This commit is contained in:
parent
cd75f5bdf1
commit
8d399ad2ed
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ class _NewsletterState extends State<Newsletter> {
|
|||
subscribe(emailQuery).then((status) {
|
||||
if (status == 200) {
|
||||
emailController.clear();
|
||||
FocusScope.of(context).requestFocus(FocusNode());
|
||||
return showDialog(
|
||||
context: context,
|
||||
barrierDismissible: false,
|
||||
|
|
Loading…
Add table
Reference in a new issue