opt find pgc episode

tweak

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-10 15:43:31 +08:00
parent 8fbc8fda3d
commit 745a510ffa
7 changed files with 56 additions and 44 deletions

View File

@@ -8,6 +8,7 @@ import 'package:PiliPlus/utils/id_utils.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
// TODO refa
class PagesPanel extends StatefulWidget {
const PagesPanel({
super.key,
@@ -156,7 +157,9 @@ class _PagesPanelState extends State<PagesPanel> {
if (widget.showEpisodes == null) {
Get.back();
}
widget.ugcIntroController.onChangeEpisode(item);
widget.ugcIntroController.onChangeEpisode(
item..bvid ??= widget.bvid,
);
if (widget.list != null &&
widget
.ugcIntroController

View File

@@ -8,6 +8,7 @@ import 'package:PiliPlus/pages/video/introduction/ugc/controller.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
// TODO refa
class SeasonPanel extends StatefulWidget {
const SeasonPanel({
super.key,