From 17355977e81bb1f93862b5201424f60af9d093cf Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期六, 05 十二月 2020 16:21:44 +0800 Subject: [PATCH] 2020-12-05 1.增加苹果推送处理。2.暂时通过推送实现,增加挤下线功能。 --- HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneLocationPage.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneLocationPage.cs b/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneLocationPage.cs index 5346fda..67ceca9 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneLocationPage.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneLocationPage.cs @@ -9,14 +9,14 @@ { FrameLayout bodyView; VerticalScrolViewLayout contentView; - Function scene; + Scene scene; Button lastButton; Action backAction; - public SetSceneLocationPage(Function function, Action action) + public SetSceneLocationPage(Scene s, Action action) { backAction = action; bodyView = this; - scene = function; + scene = s; } public void LoadPage() @@ -67,7 +67,7 @@ Tag = "ChooseIcon" }; roomView.AddChidren(btnChoose); - if(scene.roomIdList.Contains(room.sid)) + if(scene.roomIds.Contains(room.sid)) { btnChoose.IsSelected = true; lastButton = btnChoose; @@ -104,8 +104,8 @@ } lastButton = btn; btn.IsSelected = true; - scene.roomIdList = new System.Collections.Generic.List<string>(); - scene.roomIdList.Add(room.sid); + scene.roomIds = new System.Collections.Generic.List<string>(); + scene.roomIds.Add(room.sid); this.RemoveFromParent(); backAction(); }; -- Gitblit v1.8.0