diff --git a/lib/view_widget/invite_success_dialog.dart b/lib/view_widget/invite_success_dialog.dart index 5a7d382e..0f190883 100644 --- a/lib/view_widget/invite_success_dialog.dart +++ b/lib/view_widget/invite_success_dialog.dart @@ -80,7 +80,9 @@ class _InviteSuccessDialog extends State { SizedBox(height: 13,), GestureDetector( onTap: (){ - Navigator.of(context).pop(); + setState(() { + Navigator.of(context).pop(); + }); }, child:RoundButton( text: S.of(context).queren, @@ -92,9 +94,6 @@ class _InviteSuccessDialog extends State { fontWeight: MyFontWeight.semi_bold, backgroup: Color(0xFF32A060), radius: 4.w, - callback: () { - SmartDialog.dismiss(); - }, ), ), SizedBox(height:20),