From 03cb9c945158b65aa4170796e941aafb0aea3458 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E5=B0=91=E9=98=B3?= <786612630@qq.com> Date: Tue, 5 Nov 2024 09:55:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=9B=BD=E9=99=85?= =?UTF-8?q?=E5=8C=96=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/tools/showTipView.dart | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/tools/showTipView.dart b/lib/tools/showTipView.dart index 2e100702..8eb5793e 100755 --- a/lib/tools/showTipView.dart +++ b/lib/tools/showTipView.dart @@ -74,14 +74,16 @@ class ShowTipView { context: Get.context!, builder: (BuildContext context) { return CupertinoAlertDialog( - content: Text(contentStr), + content: Text(contentStr.tr), actions: [ CupertinoDialogAction( - child: Text('取消'.tr, style: TextStyle(color: AppColors.mainColor)), + child: + Text('取消'.tr, style: TextStyle(color: AppColors.mainColor)), onPressed: Get.back, ), CupertinoDialogAction( - child: Text('确定'.tr, style: TextStyle(color: AppColors.mainColor)), + child: + Text('确定'.tr, style: TextStyle(color: AppColors.mainColor)), onPressed: () { Get.back(); sureClick(); @@ -124,7 +126,7 @@ class ShowTipView { ); } - void resetGetController(){ + void resetGetController() { getController.text = ''; }