Fix Invite Handling
This commit is contained in:
parent
052649ef9d
commit
6b93f059d7
|
@ -193,12 +193,12 @@ class _MessageViewState extends State<MessageView> {
|
|||
),
|
||||
ElevatedButton(
|
||||
child: Text(AppLocalizations.of(bcontext)!.inviteBtn, semanticsLabel: AppLocalizations.of(bcontext)!.inviteBtn),
|
||||
onPressed: this.selectedContact == ""
|
||||
? null
|
||||
: () {
|
||||
this._sendInvitation();
|
||||
Navigator.pop(bcontext);
|
||||
},
|
||||
onPressed: () {
|
||||
if (this.selectedContact != "") {
|
||||
this._sendInvitation();
|
||||
}
|
||||
Navigator.pop(bcontext);
|
||||
},
|
||||
),
|
||||
],
|
||||
)),
|
||||
|
|
Loading…
Reference in New Issue