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,