refactor: reply2reply [wip]

refactor: reply
This commit is contained in:
bggRGjQaUbCoE
2024-10-11 09:43:17 +08:00
parent 7b6e302e89
commit 39a63cf5ce
11 changed files with 11442 additions and 79 deletions

View File

@@ -221,21 +221,24 @@ class _VideoReplyPanelState extends State<VideoReplyPanel>
),
);
} else {
return ReplyItem(
replyItem: loadingState.response[index],
showReplyRow: true,
replyLevel: replyLevel,
replyReply: widget.replyReply,
replyType: ReplyType.video,
onReply: () {
_videoReplyController.onReply(
context,
replyItem: loadingState.response[index],
index: index,
);
},
onDelete: _videoReplyController.onMDelete,
return ListTile(
title: Text(loadingState.response[index].content.message),
);
// return ReplyItem(
// replyItem: loadingState.response[index],
// showReplyRow: true,
// replyLevel: replyLevel,
// replyReply: widget.replyReply,
// replyType: ReplyType.video,
// onReply: () {
// _videoReplyController.onReply(
// context,
// replyItem: loadingState.response[index],
// index: index,
// );
// },
// onDelete: _videoReplyController.onMDelete,
// );
}
},
childCount: loadingState.response.length + 1,