From: Caisking Date: Sat, 24 Jan 2026 11:05:23 +0000 (+0800) Subject: 优化GPS准备界面的更新 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=4be08c95d92f3165c575b4d8a30672ed9ad689a4;p=mirrors%2FFD230.git 优化GPS准备界面的更新 --- diff --git a/code/sdk/application/wearable/fd272/nativeapp/nativeui/traing/src/TraingNomalView.cpp b/code/sdk/application/wearable/fd272/nativeapp/nativeui/traing/src/TraingNomalView.cpp index a84079121..73f8e991f 100644 --- a/code/sdk/application/wearable/fd272/nativeapp/nativeui/traing/src/TraingNomalView.cpp +++ b/code/sdk/application/wearable/fd272/nativeapp/nativeui/traing/src/TraingNomalView.cpp @@ -194,7 +194,7 @@ namespace OHOS //更新gps状态 bool TraingNomalView::updateview() { - if(gps_image_ == nullptr || buttonGo_ == nullptr ||heartrate_label_ == nullptr) + if(group == nullptr || gps_image_ == nullptr || buttonGo_ == nullptr ||heartrate_label_ == nullptr) { return false; }