feat: 减少日志,增强状态,减少监听

This commit is contained in:
2025-12-03 18:06:47 -08:00
parent 33b9cd34f1
commit 5bd77511cc
7 changed files with 161 additions and 180 deletions
@@ -561,15 +561,7 @@ class HINodeListView extends GetView<HINodeListController> {
SizedBox(width: 12.w),
Obx(() {
final selectedCountryField =
controller.homeController.kr_coutryText.value;
if (selectedCountryField == 'auto') {
return KrLocalImage(
imageName: 'radio-icon',
imageType: ImageType.svg,
width: 16.w,
height: 16.h,
);
}
controller.homeController.kr_selectedCountryTag.value;
final selected = selectedCountryField == country.country;
return selected
? KrLocalImage(