-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
将构建未检测和已检测小部件的逻辑分离到各自的函数中:_buildNotDetectedWidget和_buildDetectedWidget。这样做的目的是提高代码的可读性和可维护性,使主构建函数build更加简洁,并将特定的构建逻辑集中到相关函数中。此更改还包括调整相关变量的定义和初始化,以确保与新的构建逻辑保持一致。 Reconstructs the AI detection main page construction method. Separate the logic for building undetected and detected widgets into their respective functions: _buildNotDetectedWidget and _buildDetectedWidget. The goal is to improve the readability and maintainability of the code, make the main build function build more concise, and centralize specific build logic into related functions. This change also includes adjusting the definition and initialization of related variables to ensure consistency with the new build logic.
- Loading branch information
Showing
1 changed file
with
103 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters