Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-02-01 17:06:21 +08:00
parent 8f08104f37
commit 37fa165f59
9 changed files with 21 additions and 39 deletions

View File

@@ -156,9 +156,8 @@ class VideoReplyReplyController extends ReplyController
@override
void onReply(
BuildContext context, {
ReplyInfo? replyItem, {
int? oid,
ReplyInfo? replyItem,
int? replyType,
int? index,
}) {
@@ -173,7 +172,7 @@ class VideoReplyReplyController extends ReplyController
final root = replyItem.id.toInt();
final key = oid + root;
Navigator.of(context)
Get.key.currentState!
.push(
PublishRoute(
pageBuilder: (buildContext, animation, secondaryAnimation) {

View File

@@ -224,11 +224,7 @@ class _VideoReplyReplyPanelState extends State<VideoReplyReplyPanel>
replyItem: firstFloor,
replyLevel: 2,
needDivider: false,
onReply: (replyItem) => _controller.onReply(
context,
replyItem: replyItem,
index: -1,
),
onReply: (replyItem) => _controller.onReply(replyItem, index: -1),
upMid: _controller.upMid,
onCheckReply: (item) =>
_controller.onCheckReply(item, isManual: true),
@@ -366,8 +362,7 @@ class _VideoReplyReplyPanelState extends State<VideoReplyReplyPanel>
return ReplyItemGrpc(
replyItem: replyItem,
replyLevel: isDialogue ? 3 : 2,
onReply: (replyItem) =>
_controller.onReply(this.context, replyItem: replyItem, index: index),
onReply: (replyItem) => _controller.onReply(replyItem, index: index),
onDelete: (item, subIndex) => _controller.onRemove(index, item, null),
upMid: _controller.upMid,
showDialogue: () => Scaffold.of(context).showBottomSheet(