From 44159a59fbc19855c621e928551521986916d265 Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Wed, 18 Sep 2024 11:49:54 +0800 Subject: [PATCH] fix: remove unused params --- lib/pages/video/detail/reply_reply/view.dart | 2 -- lib/pages/video/detail/view.dart | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/pages/video/detail/reply_reply/view.dart b/lib/pages/video/detail/reply_reply/view.dart index 2b2db9be8..61fb5b386 100644 --- a/lib/pages/video/detail/reply_reply/view.dart +++ b/lib/pages/video/detail/reply_reply/view.dart @@ -115,7 +115,6 @@ class _VideoReplyReplyPanelState extends State { replyLevel: '2', showReplyRow: false, replyType: widget.replyType, - replyReply: () {}, needDivider: false, onReply: () { _onReply(widget.firstFloor); @@ -205,7 +204,6 @@ class _VideoReplyReplyPanelState extends State { replyLevel: '2', showReplyRow: false, replyType: widget.replyType, - replyReply: () {}, needDivider: false, onReply: () { _onReply(_videoReplyReplyController.root); diff --git a/lib/pages/video/detail/view.dart b/lib/pages/video/detail/view.dart index 9bf40a196..2110f6580 100644 --- a/lib/pages/video/detail/view.dart +++ b/lib/pages/video/detail/view.dart @@ -1360,9 +1360,9 @@ class _VideoDetailPageState extends State return LayoutBuilder( builder: (BuildContext context, BoxConstraints constraints) { - if (!isShowing) { - return ColoredBox(color: Theme.of(context).colorScheme.surface); - } + // if (!isShowing) { + // return ColoredBox(color: Theme.of(context).colorScheme.surface); + // } if (constraints.maxWidth > constraints.maxHeight * 1.25) { // hideStatusBar(); // videoDetailController.hiddenReplyReplyPanel();