wxr
2023-07-12 7bea8bc6d399e9097e3565c2eed48ee6145d6b2f
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;