feat(client): 节点列表防误触 — 已连接时切换节点先弹确认
未连接(off)点节点直接选→跳连接页(无破坏性,不弹框);已连接/连接中点其他 节点会断开重连,先弹确认框(标题含目标节点名),取消则维持当前连接。新增 nodeSwitchTitle/Body/Confirm 三条文案 + node_connect_confirm_test 覆盖 off/on 两路。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -52,6 +52,10 @@ abstract class AppText {
|
||||
String get chooseNode;
|
||||
String get searchPh;
|
||||
String get smartSelect;
|
||||
// 已连接时点其他节点 → 切换确认(防误触)
|
||||
String nodeSwitchTitle(String name);
|
||||
String get nodeSwitchBody;
|
||||
String get nodeSwitchConfirm;
|
||||
String get smartSub;
|
||||
String get recommended;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user