mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-26 21:35:49 +08:00
fix #1712
fix #1641 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -20,15 +20,11 @@ class VideoReplyPanel extends StatefulWidget {
|
||||
super.key,
|
||||
this.replyLevel = 1,
|
||||
required this.heroTag,
|
||||
this.onViewImage,
|
||||
this.onDismissed,
|
||||
required this.isNested,
|
||||
});
|
||||
|
||||
final int replyLevel;
|
||||
final String heroTag;
|
||||
final VoidCallback? onViewImage;
|
||||
final ValueChanged<int>? onDismissed;
|
||||
final bool isNested;
|
||||
|
||||
@override
|
||||
@@ -216,8 +212,6 @@ class _VideoReplyPanelState extends State<VideoReplyPanel>
|
||||
_videoReplyController.onRemove(index, item, subIndex),
|
||||
upMid: _videoReplyController.upMid,
|
||||
getTag: () => heroTag,
|
||||
onViewImage: widget.onViewImage,
|
||||
onDismissed: widget.onDismissed,
|
||||
onCheckReply: (item) => _videoReplyController
|
||||
.onCheckReply(item, isManual: true),
|
||||
onToggleTop: (item) => _videoReplyController.onToggleTop(
|
||||
@@ -258,8 +252,6 @@ class _VideoReplyPanelState extends State<VideoReplyPanel>
|
||||
firstFloor: replyItem,
|
||||
replyType: _videoReplyController.videoType.replyType,
|
||||
isVideoDetail: true,
|
||||
onViewImage: widget.onViewImage,
|
||||
onDismissed: widget.onDismissed,
|
||||
isNested: widget.isNested,
|
||||
),
|
||||
);
|
||||
|
||||
@@ -50,7 +50,6 @@ class ReplyItemGrpc extends StatelessWidget {
|
||||
this.showDialogue,
|
||||
this.getTag,
|
||||
this.onViewImage,
|
||||
this.onDismissed,
|
||||
this.onCheckReply,
|
||||
this.onToggleTop,
|
||||
this.jumpToDialogue,
|
||||
@@ -65,7 +64,6 @@ class ReplyItemGrpc extends StatelessWidget {
|
||||
final VoidCallback? showDialogue;
|
||||
final Function? getTag;
|
||||
final VoidCallback? onViewImage;
|
||||
final ValueChanged<int>? onDismissed;
|
||||
final ValueChanged<ReplyInfo>? onCheckReply;
|
||||
final ValueChanged<ReplyInfo>? onToggleTop;
|
||||
final VoidCallback? jumpToDialogue;
|
||||
@@ -317,7 +315,6 @@ class ReplyItemGrpc extends StatelessWidget {
|
||||
)
|
||||
.toList(),
|
||||
onViewImage: onViewImage,
|
||||
onDismissed: onDismissed,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user