修改BUG

This commit is contained in:
2026-01-16 20:44:10 +08:00
parent 93489b09d9
commit 552387293c
4 changed files with 77 additions and 50 deletions

View File

@@ -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)