|
|
@@ -39,8 +39,8 @@ class AgreementAgainDialog {
|
|
|
class _AgreementAgainDialog extends Dialog {
|
|
|
final VoidCallback cancelClick;
|
|
|
final VoidCallback sureClick;
|
|
|
-
|
|
|
- const _AgreementAgainDialog(this.cancelClick, this.sureClick);
|
|
|
+ bool _isClicked = false;
|
|
|
+ _AgreementAgainDialog(this.cancelClick, this.sureClick);
|
|
|
|
|
|
@override
|
|
|
Widget build(BuildContext context) {
|
|
|
@@ -148,6 +148,8 @@ class _AgreementAgainDialog extends Dialog {
|
|
|
children: [
|
|
|
Expanded(
|
|
|
child: sureText(StringName.privacyAgree, () {
|
|
|
+ if (_isClicked) return;
|
|
|
+ _isClicked = true;
|
|
|
sureClick();
|
|
|
}),
|
|
|
),
|