fix:showConfirmDialogs

This commit is contained in:
xkeyC 2024-03-23 18:23:16 +08:00
parent 010a184921
commit e1533ae154

View File

@ -31,7 +31,7 @@ Future<bool> showConfirmDialogs(
String cancel = "", String cancel = "",
BoxConstraints? constraints}) async { BoxConstraints? constraints}) async {
if (confirm.isEmpty) confirm = S.current.app_common_tip_confirm; 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, final r = await showBaseDialog(context,
title: title, title: title,