From 43b0d5870d528f23ecd6aeceb6cfd4325188b46f Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 01 七月 2021 15:50:43 +0800
Subject: [PATCH] Revert "1"

---
 HDL_ON/UI/UI0-Stan/Form/DeviceFunctionCardCommonForm.cs |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/UI/UI0-Stan/Form/DeviceFunctionCardCommonForm.cs b/HDL_ON/UI/UI0-Stan/Form/DeviceFunctionCardCommonForm.cs
index f67503e..3608632 100644
--- a/HDL_ON/UI/UI0-Stan/Form/DeviceFunctionCardCommonForm.cs
+++ b/HDL_ON/UI/UI0-Stan/Form/DeviceFunctionCardCommonForm.cs
@@ -145,8 +145,7 @@
             btnRoomName.Text = device.GetRoomListName();
             btnRoomName.Width = btnRoomName.GetRealWidthByText();
             FrameWhiteCentet1.AddChidren(btnRoomName);
-            //鎴愬憳娌℃湁鏀惰棌鍔熻兘
-            //if (DB_ResidenceData.Instance.CurrentRegion.isOtherShare == false && ShowColltionButton)
+            if (ShowColltionButton)
             {
                 var btnCollection = new IconViewControl(40);
                 btnCollection.X = Application.GetRealWidth(273);
@@ -313,7 +312,7 @@
             topFrameLayout.AddChidren(btnSetting);
 
             //濡傛灉鏄垚鍛樻病鏈夊姛鑳�
-            if (DB_ResidenceData.Instance.CurrentRegion.IsOthreShare == true)
+            if (DB_ResidenceData.Instance.CurrentRegion.isOtherShare == true)
             {
                 btnSetting.Visible = false;
             }

--
Gitblit v1.8.0