瀏覽代碼

文案修改

Steven 6 月之前
父節點
當前提交
ef13202b36

+ 1 - 1
KulexiuForStudent/KulexiuForStudent/Module/Chat/Group/Controller/GroupSettingViewController.m

@@ -219,7 +219,7 @@
         case GROUPSETTING_GOURPINTRO:
         {
             if ([NSString isEmptyString:self.sourceModel.introduce]) {
-                [LOADING_MANAGER MBShowAUTOHidingInWindow:@"暂无群介"];
+                [LOADING_MANAGER MBShowAUTOHidingInWindow:@"暂无群介"];
                 return;
             }
             GroupIntroduceViewController *ctrl = [[GroupIntroduceViewController alloc] init];

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

@@ -169,7 +169,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;
+        }
     }
 }
 

+ 1 - 0
KulexiuForStudent/KulexiuForStudent/Module/Chat/Group/View/GroupSettingBodyView.xib

@@ -413,6 +413,7 @@
             <nil key="simulatedBottomBarMetrics"/>
             <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
             <connections>
+                <outlet property="groupDesc" destination="fEO-Ri-MQX" id="9vr-Iy-30o"/>
                 <outlet property="groupImage" destination="Pgc-8e-F0o" id="cD2-2v-pf4"/>
                 <outlet property="groupMemberDesc" destination="mGj-Ko-LcU" id="oD7-d5-0hD"/>
                 <outlet property="groupName" destination="hDS-dB-bma" id="Rpk-gW-4hb"/>