From 56d8b04cc13f23fb6ddf7ff3c331cec94ff255c7 Mon Sep 17 00:00:00 2001 From: w-R <953969641@qq.com> Date: Thu, 2 Dec 2021 16:07:10 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E9=82=80=E8=AF=B7=E6=88=90?= =?UTF-8?q?=E5=8A=9F=E5=BC=B9=E7=AA=97=E6=9B=B4=E6=94=B9;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/view_widget/invite_success_dialog.dart | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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),