Skip to content

Commit b82e49f

Browse files
sumengsumeng
authored andcommitted
语音消息在消息列表中显示 [语音]
1 parent f073611 commit b82e49f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Coding_iOS/Views/Cell/ConversationCell.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ - (void)layoutSubviews{
6767
if (_curPriMsg.hasMedia) {
6868
[textMsg appendString:@"[图片]"];
6969
}
70+
if (_curPriMsg.file || _curPriMsg.voiceMedia) {
71+
[textMsg setString:@"[语音]"];
72+
}
7073
_msg.text = textMsg;
7174

7275
NSString *badgeTip = @"";

0 commit comments

Comments
 (0)