feat: 先改变节点选择方法
This commit is contained in:
parent
89d6ec3c76
commit
76e83e0135
@ -371,15 +371,6 @@ class HINodeListView extends GetView<HINodeListController> {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// 节点选中时的通用处理逻辑
|
|
||||||
void _onNodeSelected(KROutboundItem item) {
|
|
||||||
KRLogUtil.kr_i('Node selected: ${item.tag}');
|
|
||||||
KRSingBoxImp.instance.kr_selectOutbound(item.tag);
|
|
||||||
controller.homeController.kr_selectNode(item.tag);
|
|
||||||
// 切换回主页的仪表盘视图
|
|
||||||
controller.homeController.kr_currentListStatus.value = KRHomeViewsListStatus.kr_none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/// 构建单个节点列表项的UI
|
/// 构建单个节点列表项的UI
|
||||||
Widget _kr_buildNodeListItem(BuildContext context, {required KROutboundItem item}) {
|
Widget _kr_buildNodeListItem(BuildContext context, {required KROutboundItem item}) {
|
||||||
return Container(
|
return Container(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user