加强检测关闭逻辑
authorCaisking <3449750381@qq.com>
Sun, 3 Mar 2024 03:16:49 +0000 (11:16 +0800)
committerCaisking <3449750381@qq.com>
Sun, 3 Mar 2024 03:16:49 +0000 (11:16 +0800)
code/sdk/application/wearable/fd230app/nativeui/bloodoxygen/src/BloodOxygenPresenter.cpp

index 154a986..f55e482 100644 (file)
@@ -144,8 +144,8 @@ namespace OHOS
         if (strcmp(view.GetViewId(), "ReCheck") == 0)
         {
             BloodOxygenView::GetInstance()->ChangeView(BLOODRESULT, BLOODCHECKVIEW);
-           // 播放检测界面动画
-            BloodCheckView::GetInstance()->GetImageAnimator()->Start();
+            BloodCheckView::GetInstance()->GetImageAnimator()->Start(); // 播放检测界面动画
+            BloodOxygenModel::GetInstance()->SetCheckStatus(true);      // 开始检测
             return true;
         }
         // 从检测失败界面回到主界面