更新睡眠报告

This commit is contained in:
wyf
2025-05-29 20:20:49 +08:00
parent b34737dbe8
commit 7a816922fa
41 changed files with 4604 additions and 2394 deletions

View File

@@ -71,7 +71,8 @@ class BlueteethBindController extends GetControllerEx<BlueteethBindModel> {
RxString search = "".obs; //搜索关键字
RxInt connectStatus = 0.obs;
RxInt connectStatus = 0.obs;//当前wifi连接状态 0未连接 1已连接
RxInt blueConnectFlag = 0.obs;//当前蓝牙连接状态 0.正在连接 1.为连接 2.已连接
RxMap selectWifi = {}.obs; //正在连接wifi信息

View File

@@ -256,6 +256,9 @@ class WeatherModelController extends GetControllerEx<WeatherModel> {
Future<void> _getCurrentLocation() async {
try {
Position position = await _determinePosition();
if (position == null) {
throw Exception("获取位置失败");
}
String? language = "zh_CN";
if (languageController.selectLanguage != null) {