Fix Invite Handling

This commit is contained in:
Sarah Jamie Lewis 2021-06-16 14:42:10 -07:00
parent 052649ef9d
commit 6b93f059d7
1 changed files with 6 additions and 6 deletions

View File

@ -193,10 +193,10 @@ class _MessageViewState extends State<MessageView> {
),
ElevatedButton(
child: Text(AppLocalizations.of(bcontext)!.inviteBtn, semanticsLabel: AppLocalizations.of(bcontext)!.inviteBtn),
onPressed: this.selectedContact == ""
? null
: () {
onPressed: () {
if (this.selectedContact != "") {
this._sendInvitation();
}
Navigator.pop(bcontext);
},
),