更新睡眠报告
This commit is contained in:
@@ -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信息
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user