mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
@@ -188,6 +188,7 @@ abstract class CommonDynPageState<T extends StatefulWidget> extends State<T>
|
||||
isVideoDetail: !showBackBtn,
|
||||
replyType: controller.replyType,
|
||||
firstFloor: replyItem,
|
||||
upMid: controller.upMid,
|
||||
),
|
||||
);
|
||||
if (showBackBtn) {
|
||||
|
||||
@@ -239,6 +239,7 @@ class _MainReplyPageState extends State<MainReplyPage>
|
||||
isVideoDetail: false,
|
||||
replyType: _controller.replyType,
|
||||
firstFloor: replyItem,
|
||||
upMid: _controller.upMid,
|
||||
),
|
||||
).constraintWidth(),
|
||||
),
|
||||
|
||||
@@ -250,6 +250,7 @@ class _VideoReplyPanelState extends State<VideoReplyPanel>
|
||||
replyType: _videoReplyController.videoType.replyType,
|
||||
isVideoDetail: true,
|
||||
isNested: widget.isNested,
|
||||
upMid: _videoReplyController.upMid,
|
||||
),
|
||||
);
|
||||
});
|
||||
|
||||
@@ -16,6 +16,7 @@ import 'package:PiliPlus/utils/extension/widget_ext.dart';
|
||||
import 'package:PiliPlus/utils/num_utils.dart';
|
||||
import 'package:PiliPlus/utils/utils.dart';
|
||||
import 'package:extended_nested_scroll_view/extended_nested_scroll_view.dart';
|
||||
import 'package:fixnum/fixnum.dart' show Int64;
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
|
||||
import 'package:get/get.dart';
|
||||
@@ -33,6 +34,7 @@ class VideoReplyReplyPanel extends CommonSlidePage {
|
||||
required this.isVideoDetail,
|
||||
required this.replyType,
|
||||
this.isNested = false,
|
||||
this.upMid,
|
||||
});
|
||||
final int? id;
|
||||
final int oid;
|
||||
@@ -42,6 +44,7 @@ class VideoReplyReplyPanel extends CommonSlidePage {
|
||||
final bool isVideoDetail;
|
||||
final int replyType;
|
||||
final bool isNested;
|
||||
final Int64? upMid;
|
||||
|
||||
@override
|
||||
State<VideoReplyReplyPanel> createState() => _VideoReplyReplyPanelState();
|
||||
@@ -224,7 +227,7 @@ class _VideoReplyReplyPanelState extends State<VideoReplyReplyPanel>
|
||||
replyLevel: 2,
|
||||
needDivider: false,
|
||||
onReply: (replyItem) => _controller.onReply(replyItem, index: -1),
|
||||
upMid: _controller.upMid,
|
||||
upMid: widget.upMid ?? _controller.upMid,
|
||||
onCheckReply: (item) =>
|
||||
_controller.onCheckReply(item, isManual: true),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user