mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-21 19:28:27 +08:00
@@ -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) {
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user