mod: 视频评论页代码整理

This commit is contained in:
guozhigq
2023-07-24 16:11:17 +08:00
parent 4e64c74ee0
commit 7a3f6cf5ee
5 changed files with 42 additions and 91 deletions

View File

@ -11,14 +11,14 @@ import 'package:pilipala/utils/storage.dart';
import 'controller.dart';
class VideoReplyReplyPanel extends StatefulWidget {
int? oid;
int? rpid;
Function? closePanel;
ReplyItemModel? firstFloor;
String? source;
ReplyType? replyType;
final int? oid;
final int? rpid;
final Function? closePanel;
final ReplyItemModel? firstFloor;
final String? source;
final ReplyType? replyType;
VideoReplyReplyPanel({
const VideoReplyReplyPanel({
this.oid,
this.rpid,
this.closePanel,
@ -91,7 +91,6 @@ class _VideoReplyReplyPanelState extends State<VideoReplyReplyPanel> {
icon: const Icon(Icons.close),
onPressed: () {
_videoReplyReplyController.currentPage = 0;
_videoReplyReplyController.rPid = 0;
widget.closePanel!();
Navigator.pop(context);
},