From 9c16d3614d9b88c637f967518a329f239fcd3aaf Mon Sep 17 00:00:00 2001 From: lss <316519258@qq.com> Date: 星期五, 12 六月 2020 09:22:04 +0800 Subject: [PATCH] 2020.06.12 --- 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