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 = ''; }