修复wifi配置含中文

This commit is contained in:
wyf
2025-10-14 10:21:37 +08:00
parent 02fe46b674
commit d7f1b78404
11 changed files with 108 additions and 52 deletions

View File

@@ -563,7 +563,10 @@ class MHTHomeController extends GetControllerEx<MHTHomeModel> {
onFailure: (res) {
EasyDartModule.logger.warning("请求睡眠信息列表失败: ${res.msg}");
TopSlideNotification.show(context,
text: "请求失败".tr, textColor: themeController.currentColor.sc9);
text: res.msg ?? "请求失败".tr,
textColor: themeController.currentColor.sc9);
homeSleepDays.value = [];
updateAll();
},
);
}