From bba578c2f0acf2eca747edcb69426771e0cadd32 Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期一, 23 三月 2020 18:20:50 +0800
Subject: [PATCH] 2020-03-23-3

---
 ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs b/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs
index db26b57..86aa5a4 100755
--- a/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs
+++ b/ZigbeeApp/Shared/Phone/UserView/LoginLoading.cs
@@ -11,17 +11,16 @@
             BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor;
             Tag = "Login";
         }
+
         /// <summary>
         /// show
         /// </summary>
         public void Show()
         {
-            var sceneBtn = new ImageView()
-            {
-                Width=Application.GetMinRealAverage(1080),
-                Height=Application.GetMinRealAverage(1920),
-                ImagePath="Logo/2.jpg"
-            };
+            var sceneBtn = new ImageView();
+            sceneBtn.Width = this.Width;
+            sceneBtn.Height = this.Height;
+            sceneBtn.ImagePath = "Logo/2.jpg";
             AddChidren(sceneBtn);
         }
     }

--
Gitblit v1.8.0