浏览代码

文案修改

Steven 2 月之前
父节点
当前提交
493ff36030

+ 6 - 1
KulexiuForTeacher/KulexiuForTeacher/Module/Chat/Group/View/GroupSettingBodyView.m

@@ -209,7 +209,12 @@ typedef void(^ChooseMemberCallback)(NSString *targetId);
         }
         self.groupMemberDesc.text = [NSString stringWithFormat:@"%.0f/%zd",model.memberNum,groupLimit];
         
-        self.groupDesc.text = [NSString returnNoNullStringWithString:model.introduce];
+        if ([NSString isEmptyString:model.introduce]) {
+            self.groupDesc.text = @"暂无群简介";
+        }
+        else {
+            self.groupDesc.text = model.introduce;
+        }
     }
 }
 

+ 2 - 2
KulexiuForTeacher/KulexiuForTeacher/Module/Chat/Group/View/GroupSettingBodyView.xib

@@ -186,7 +186,7 @@
                                 <constraint firstAttribute="height" constant="22" id="dSh-qw-gvh"/>
                             </constraints>
                             <fontDescription key="fontDescription" type="system" pointSize="16"/>
-                            <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                            <color key="textColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                             <nil key="highlightedColor"/>
                         </label>
                         <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="mine_next" translatesAutoresizingMaskIntoConstraints="NO" id="dH8-35-u9Y">
@@ -261,7 +261,7 @@
                                 <constraint firstAttribute="height" constant="22" id="z9z-9C-bbB"/>
                             </constraints>
                             <fontDescription key="fontDescription" type="system" pointSize="16"/>
-                            <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
+                            <color key="textColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
                             <nil key="highlightedColor"/>
                         </label>
                         <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="UZI-A8-kiW">