From 1ec6794e808b9627276255ca3846326c9316034a Mon Sep 17 00:00:00 2001 From: gxc <gxc@hdlchina.com.cn> Date: 星期三, 11 十二月 2019 16:36:53 +0800 Subject: [PATCH] 2019.12.11-2 --- ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs index 67f8470..0746732 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/UserMain/QRCodeForm.cs @@ -25,7 +25,7 @@ /// </summary> private void InitMiddleFrame() { - uint roundHeigth = (uint)Application.GetMinRealAverage(6); + uint roundHeigth = 6; //鑳屾櫙妗� var frameBack = new FrameLayout(); @@ -69,7 +69,7 @@ btnIcon.Radius = (uint)Application.GetMinRealAverage(294) / 2; btnIcon.Y = Application.GetRealHeight(121); btnIcon.Gravity = Gravity.CenterHorizontal; - btnIcon.ImagePath = UserCenterResourse.UserInfo.UserIconFile; + btnIcon.ImageBytes = Shared.IO.FileUtils.ReadFile(UserCenterResourse.UserInfo.UserIconFile); frameBack.AddChidren(btnIcon); //鐢ㄦ埛鍚� var btnUser = new NormalViewControl(frameBack.Width, Application.GetRealHeight(46), false); -- Gitblit v1.8.0