fix reply up badge

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-03-29 11:45:16 +08:00
parent 2fc3f9864f
commit e6a2f65b4e
4 changed files with 7 additions and 1 deletions

View File

@@ -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),
),