mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-28 22:35:54 +08:00
@@ -463,7 +463,7 @@ class UgcIntroController extends CommonIntroController with ReloadMixin {
|
||||
}
|
||||
|
||||
// 修改分P或番剧分集
|
||||
Future<void> onChangeEpisode(
|
||||
Future<bool> onChangeEpisode(
|
||||
BaseEpisodeItem episode, {
|
||||
bool isStein = false,
|
||||
}) async {
|
||||
@@ -473,7 +473,7 @@ class UgcIntroController extends CommonIntroController with ReloadMixin {
|
||||
final int? cid =
|
||||
episode.cid ?? await SearchHttp.ab2c(aid: aid, bvid: bvid);
|
||||
if (cid == null) {
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
final String? cover = episode.cover;
|
||||
|
||||
@@ -488,7 +488,7 @@ class UgcIntroController extends CommonIntroController with ReloadMixin {
|
||||
cid: cid,
|
||||
cover: cover,
|
||||
);
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -546,8 +546,10 @@ class UgcIntroController extends CommonIntroController with ReloadMixin {
|
||||
|
||||
this.cid.value = cid;
|
||||
queryOnlineTotal();
|
||||
return true;
|
||||
} catch (e) {
|
||||
if (kDebugMode) debugPrint('ugc onChangeEpisode: $e');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user