更新睡眠报告
This commit is contained in:
@@ -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