gxc
2019-12-13 cc3be7de79f8056909253aa3c6742e58543f6a71
ZigbeeApp/Shared/Phone/Device/Category/CategoryAddScene.cs
@@ -250,8 +250,17 @@
                            };
                        }
                    }
                }
                if (sceneTargetDevicesList.Count > 2)
                {
                    var targetRowLayout = new RowLayout()
                    {
                        Height = Application.GetRealHeight(300),
                        LineColor = ZigbeeColor.Current.GXCBackgroundColor,
                        BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor
                    };
                    TargetListScrolView.AddChidren(targetRowLayout);
                }
            }
        }
@@ -662,15 +671,18 @@
            EventHandler<MouseEventArgs> targetAddHander = (sender, e) =>
            {
                if (curRoom == null)
                //if (curRoom == null)
                //{
                //    RoomCommon.ShowTipNoRoom();
                //    return;
                //}
                if(curRoom != null)
                {
                    RoomCommon.ShowTipNoRoom();
                    return;
                }
                if (curRoom.IsSharedRoom)
                {
                    RoomCommon.ShowTipRoomIsShared();
                    return;
                    if (curRoom.IsSharedRoom)
                    {
                        RoomCommon.ShowTipRoomIsShared();
                        return;
                    }
                }
                int selectRow_Height = 150;
@@ -1107,7 +1119,6 @@
                    }
                }
            };
            #endregion