mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
refactor: reply2reply [wip]
refactor: reply
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user