Skip to content

Commit 4760955

Browse files
committed
从冒泡搜索进入的冒泡详情点赞不显示头像
1 parent 70379e6 commit 4760955

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Coding_iOS/Controllers/Search/CSSearchCell.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ - (void)layoutSubviews {
157157
[self.timeClockIconView setY:curBottomY + 2];
158158

159159
curX += self.timeClockIconView.frame.size.width + 3;
160-
[self.timeLabel setLongString:[_tweet.created_at stringDisplay_HHmm] withVariableWidth:kScreen_Width / 6];
160+
[self.timeLabel setLongString:[_tweet.created_at stringDisplay_HHmm] withVariableWidth:kScreen_Width / 2];
161161
[self.timeLabel setX:curX];
162162
[self.timeLabel setY:curBottomY];
163163

Coding_iOS/Controllers/TweetDetailViewController.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ - (void)viewDidLoad
8080
self.myTableView.contentInset = contentInsets;
8181
self.myTableView.scrollIndicatorInsets = contentInsets;
8282

83-
if (!_curTweet.content) {
83+
if (!_curTweet.content
84+
|| (_curTweet.likes.integerValue > 0 && _curTweet.like_users.count == 0)) {
8485
[self refreshTweet];
8586
}else{
8687
_myMsgInputView.commentOfId = _curTweet.id;

0 commit comments

Comments
 (0)