mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-23 10:36:24 +08:00
opt change episode
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -156,13 +156,7 @@ class _PagesPanelState extends State<PagesPanel> {
|
||||
if (widget.showEpisodes == null) {
|
||||
Get.back();
|
||||
}
|
||||
widget.ugcIntroController.onChangeEpisode(
|
||||
null,
|
||||
widget.bvid,
|
||||
item.cid,
|
||||
IdUtils.bv2av(widget.bvid),
|
||||
widget.cover,
|
||||
);
|
||||
widget.ugcIntroController.onChangeEpisode(item);
|
||||
if (widget.list != null &&
|
||||
widget
|
||||
.ugcIntroController
|
||||
|
||||
@@ -11,13 +11,11 @@ import 'package:get/get.dart';
|
||||
class SeasonPanel extends StatefulWidget {
|
||||
const SeasonPanel({
|
||||
super.key,
|
||||
required this.onChangeEpisode,
|
||||
required this.heroTag,
|
||||
required this.showEpisodes,
|
||||
this.onTap,
|
||||
required this.ugcIntroController,
|
||||
});
|
||||
final Function onChangeEpisode;
|
||||
final String heroTag;
|
||||
final Function showEpisodes;
|
||||
final bool? onTap;
|
||||
|
||||
Reference in New Issue
Block a user