修改BUG
This commit is contained in:
@@ -69,8 +69,10 @@
|
||||
}
|
||||
case KBAIReplyFooterStateLoadMore: {
|
||||
self.actionButton.hidden = NO;
|
||||
NSInteger remaining = comment.totalReplyCount - comment.displayedReplies.count;
|
||||
title = [NSString stringWithFormat:@"展开更多回复(%ld条)", (long)remaining];
|
||||
NSInteger remaining =
|
||||
comment.totalReplyCount - comment.displayedReplies.count;
|
||||
title =
|
||||
[NSString stringWithFormat:@"展开更多回复(%ld条)", (long)remaining];
|
||||
[self.actionButton setImage:[UIImage systemImageNamed:@"chevron.down"]
|
||||
forState:UIControlStateNormal];
|
||||
break;
|
||||
@@ -108,8 +110,8 @@
|
||||
// 文字在左,图标在右
|
||||
_actionButton.semanticContentAttribute =
|
||||
UISemanticContentAttributeForceLeftToRight;
|
||||
_actionButton.imageEdgeInsets = UIEdgeInsetsMake(0, 4, 0, -4);
|
||||
_actionButton.titleEdgeInsets = UIEdgeInsetsMake(0, -4, 0, 4);
|
||||
_actionButton.imageEdgeInsets = UIEdgeInsetsMake(0, -2, 0, 2);
|
||||
_actionButton.titleEdgeInsets = UIEdgeInsetsMake(0, 2, 0, -2);
|
||||
|
||||
[_actionButton addTarget:self
|
||||
action:@selector(actionButtonTapped)
|
||||
|
||||
Reference in New Issue
Block a user