From e1533ae154f714f3962b5516d720ede5ba222bb7 Mon Sep 17 00:00:00 2001 From: xkeyC <3334969096@qq.com> Date: Sat, 23 Mar 2024 18:23:16 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9AshowConfirmDialogs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common/utils/base_utils.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/utils/base_utils.dart b/lib/common/utils/base_utils.dart index 8c4d664..971b100 100644 --- a/lib/common/utils/base_utils.dart +++ b/lib/common/utils/base_utils.dart @@ -31,7 +31,7 @@ Future showConfirmDialogs( String cancel = "", BoxConstraints? constraints}) async { if (confirm.isEmpty) confirm = S.current.app_common_tip_confirm; - if (cancel.isEmpty) confirm = S.current.app_common_tip_cancel; + if (cancel.isEmpty) cancel = S.current.app_common_tip_cancel; final r = await showBaseDialog(context, title: title,