|
|
@@ -3860,18 +3860,18 @@ static int mainRTMJoinNum = 0;
|
|
|
//vip提示
|
|
|
if(entity.user.vip.type == 0){
|
|
|
MORtmEntity *vipTipEntity = [MORtmEntity prepareRtmTextMessageWithType:SystemTipVip AndText:NSLocalString(@"mimo_room_chat_tip_vip") And:NO AndRoomId:self.liveModel.currentRoom.id];
|
|
|
- vipTipEntity.cellHeight = MOTextLabelMinHeight;
|
|
|
+ vipTipEntity.cellHeight = MOTextLabelMinHeight + MONormalBlueFixSpacing;
|
|
|
[self toAddRtmMsgWith:vipTipEntity];
|
|
|
}
|
|
|
|
|
|
//聊天提示
|
|
|
MORtmEntity *chatTipEntity = [MORtmEntity prepareRtmTextMessageWithType:SystemTipChat AndText:NSLocalString(@"mimo_room_chat_tip_chat") And:NO AndRoomId:self.liveModel.currentRoom.id];
|
|
|
- chatTipEntity.cellHeight = MOTextLabelMinHeight;
|
|
|
+ chatTipEntity.cellHeight = MOTextLabelMinHeight + MONormalBlueFixSpacing;
|
|
|
[self toAddRtmMsgWith:chatTipEntity];
|
|
|
|
|
|
//礼物提示
|
|
|
MORtmEntity *giftTipEntity = [MORtmEntity prepareRtmTextMessageWithType:SystemTipGift AndText:NSLocalString(@"mimo_room_chat_tip_gift") And:NO AndRoomId:self.liveModel.currentRoom.id];
|
|
|
- giftTipEntity.cellHeight = MOTextLabelMinHeight;
|
|
|
+ giftTipEntity.cellHeight = MOTextLabelMinHeight + MONormalBlueFixSpacing;
|
|
|
[self toAddRtmMsgWith:giftTipEntity];
|
|
|
|
|
|
CGSize size = [MOTextTools textMessageCellSizeWith:entity];
|
|
|
@@ -3946,7 +3946,7 @@ static int mainRTMJoinNum = 0;
|
|
|
//系统提示
|
|
|
MORtmEntity *sysTipEntity = [MORtmEntity prepareRtmTextMessageWithType:SystemTipMsg AndText:NSLocalString(@"mimo_room_chat_notice") And:NO AndRoomId:self.liveModel.currentRoom.id];
|
|
|
CGSize tipSize = [MOTextTools textMessageCellSizeWithString:NSLocalString(@"mimo_room_chat_notice")];
|
|
|
- sysTipEntity.cellHeight = MAX(tipSize.height + 1.0, MOTextLabelMinHeight);
|
|
|
+ sysTipEntity.cellHeight = MAX(tipSize.height + 1.0, MOTextLabelMinHeight) + MONormalBlueFixSpacing;
|
|
|
[self toAddRtmMsgWith:sysTipEntity];
|
|
|
}
|
|
|
|
|
|
@@ -3954,7 +3954,7 @@ static int mainRTMJoinNum = 0;
|
|
|
//通用蓝色提示
|
|
|
MORtmEntity *sysTipEntity = [MORtmEntity prepareRtmTextMessageWithType:SystemTipNormalBlue AndText:contentStr And:NO AndRoomId:self.liveModel.currentRoom.id];
|
|
|
CGSize tipSize = [MOTextTools textMessageCellSizeWithString:contentStr];
|
|
|
- sysTipEntity.cellHeight = MAX(tipSize.height + 1.0, MOTextLabelMinHeight);
|
|
|
+ sysTipEntity.cellHeight = MAX(tipSize.height + 1.0, MOTextLabelMinHeight) + MONormalBlueFixSpacing;
|
|
|
sysTipEntity.contentWidth = [MOTextTools getWidthWith:sysTipEntity];
|
|
|
[self toAddRtmMsgWith:sysTipEntity];
|
|
|
}
|