From 6692d867a0876b014be3cbd64bc3a237a026dc2d Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 18 十月 2022 09:57:15 +0800 Subject: [PATCH] 修改安卓隐私确认弹窗,隐私协议英文的问题 --- HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs index 1a14583..a28c458 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/MainView.cs @@ -67,13 +67,12 @@ logicView.btnSwitchIcon.IsSelected = false; currLogic.enable = "false"; } - //Send.switchLogic(currLogic); new System.Threading.Thread(() => { try { //閫昏緫浣胯兘鐨勫懡浠� - Send.Current.SwitchLogic(currLogic); + Send.Current.EnableLogic(currLogic); } catch { } @@ -259,9 +258,9 @@ /// <summary> /// 鑾峰彇閫昏緫鍒楄〃 /// </summary> - public static void GetLogicList() + public static void GetLogicList(bool needRefresh = false)//澧炲姞寮哄埗鍒锋柊 { - if (Logic.LogicList.Count != 0) + if (Logic.LogicList.Count != 0 || !needRefresh) { //鑷姩鍖栧垪琛ㄤ负0鎵嶅幓鑾峰彇鑷姩鍖栧垪琛紱 return; -- Gitblit v1.8.0