黄学彪
2019-12-12 9e518a597809c9e3637d8ff2f06dd664afed023b
ZigbeeApp/Shared/Phone/Device/Category/CategoryAddScene.cs
@@ -554,7 +554,11 @@
                    var fileName = $"SceneIcon_{tradeTime}";
                    //通过相机拍照裁剪
                    CropImage.TakePicture((imagePath) =>
                    {
                    {
                        if (string.IsNullOrEmpty(imagePath) == true)
                        {
                            return;
                        }
                        if (isModify)
                        {
                            if (IconPathType != 0)
@@ -578,7 +582,11 @@
                    var fileName = $"SceneIcon_{tradeTime}";
                    //从相册选择图片裁剪
                    CropImage.SelectPicture((imagePath) =>
                    {
                    {
                        if (string.IsNullOrEmpty(imagePath) == true)
                        {
                            return;
                        }
                        if (isModify)
                        {
                            if (IconPathType != 0)