From da3634e011bbda29cf4e1c168997b780fe795b20 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期三, 13 五月 2020 09:05:23 +0800
Subject: [PATCH] 优化新风模块和新风面板的测试功能,请合并代码

---
 ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceFirmwareUpdateForm.cs |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceFirmwareUpdateForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceFirmwareUpdateForm.cs
index 788e051..f023899 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceFirmwareUpdateForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceFirmwareUpdateForm.cs
@@ -81,6 +81,10 @@
         /// </summary>
         private void InitTopRightMenu()
         {
+            if (UserCenterResourse.HideOption.DeviceHistory != 1)
+            {
+                return;
+            }
             var btnIcon = new MostRightIconControl(69, 69);
             btnIcon.UnSelectedImagePath = "Item/More.png";
             topFrameLayout.AddChidren(btnIcon);
@@ -97,7 +101,7 @@
         /// </summary>
         private void ShowTopRightMenu()
         {
-            var frame = new TopRightMenuControl(1);
+            var frame = new TopRightMenuControl(1, 2);
             //鍘嗗彶鐗堟湰
             var deviceMenu = Language.StringByID(R.MyInternationalizationString.uHistoryVersion);
             frame.AddRowMenu(deviceMenu, "", "", () =>

--
Gitblit v1.8.0