wxr
2023-07-12 427219cc4f6c182a835d1be7d247a1832b98ba23
HDL_ON/UI/UI2/4-PersonalCenter/AddFunction/Iot_BrandFunctionListPage.cs
@@ -317,13 +317,14 @@
                Button btnClick = new Button();
                view.AddChidren(btnClick);
                btnClick.MouseUpEventHandler = (sender, e) => {
                    btnCheckIcon.IsSelected = function.collect = !function.collect;
                    if (optionList.Contains(function.deviceId))
                    {
                        btnCheckIcon.IsSelected = function.collect = false;
                        optionList.Remove(function.deviceId);
                    }
                    else
                    {
                        btnCheckIcon.IsSelected = function.collect = true;
                        optionList.Add(function.deviceId);
                    }
                    optionView.Visible = true;