From 1e826b20e55f65c8b50c166c222500c09d4b5063 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期五, 04 十二月 2020 11:58:13 +0800
Subject: [PATCH] 2020-12-04-1

---
 HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberFunctionPermissionPage.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberFunctionPermissionPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberFunctionPermissionPage.cs
index 372f78f..5d38e92 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberFunctionPermissionPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/MemberManagement/MemberFunctionPermissionPage.cs
@@ -119,7 +119,7 @@
                 Y = Application.GetRealHeight(519 + 64),
                 Gravity = Gravity.CenterHorizontal,
                 Width = Application.GetRealWidth(220),
-                Height = Application.GetRealHeight(44),
+                Height = Application.GetRealWidth(44),
                 BackgroundColor = CSS_Color.MainColor,
                 TextAlignment = TextAlignment.Center,
                 TextColor = CSS_Color.MainBackgroundColor,
@@ -148,7 +148,7 @@
         void LoadFunctionRow(List<ShareData>  shareDatas)
         {
             contentView.RemoveAll();
-            foreach (var function in room.functions)
+            foreach (var function in room.GetRoomFunctions(false))
             {
                 var roomView = new FrameLayout()
                 {
@@ -180,7 +180,7 @@
                     Tag = "ChooseIcon"
                 };
                 roomView.AddChidren(btnChoose);
-                if (shareDatas.Find((obj) => obj.ShareName == function.sid) != null)
+                if (shareDatas.Find((obj) => obj.fileName == function.sid) != null)
                 {
                     btnChoose.IsSelected = true;
                 }

--
Gitblit v1.8.0