mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-20 17:16:29 +08:00
opt del reply
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -204,7 +204,9 @@ abstract class ReplyController<R> extends CommonListController<R, ReplyInfo> {
|
||||
if (subIndex == null) {
|
||||
list.removeAt(index);
|
||||
} else {
|
||||
list[index].replies.removeAt(subIndex);
|
||||
list[index]
|
||||
..count -= 1
|
||||
..replies.removeAt(subIndex);
|
||||
}
|
||||
count.value -= 1;
|
||||
loadingState.refresh();
|
||||
|
||||
@@ -553,7 +553,7 @@ class ReplyItemGrpc extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
TextSpan(
|
||||
text: replyItem.replyControl.subReplyEntryText,
|
||||
text: '共${replyItem.count}条回复',
|
||||
style: TextStyle(
|
||||
color: theme.colorScheme.primary,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user