handle null value for email (#185)
This commit is contained in:
parent
a4e4d89811
commit
6b64d27e97
|
@ -76,7 +76,7 @@ class _SharingDialogState extends State<SharingDialog> {
|
|||
child: button(
|
||||
"add",
|
||||
onPressed: () {
|
||||
_addEmailToCollection(_email.trim());
|
||||
_addEmailToCollection(_email?.trim() ?? '');
|
||||
},
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue