Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-27 20:54:41 +08:00
parent 25acf3a9bb
commit b51c646415
227 changed files with 768 additions and 764 deletions

View File

@@ -45,8 +45,8 @@ class BiliDownloadEntryInfo with MultiSelectData {
int get sortKey => ep?.sortIndex ?? pageData!.cid;
String get showTitle {
if (pageData case final pageData?) {
return pageData.part?.isNotEmpty == true ? pageData.part! : title;
if (pageData case PageInfo(:final part)) {
return part != null && part.isNotEmpty ? part : title;
}
if (ep case final ep?) {
return ep.showTitle ?? '${ep.index} ${ep.indexTitle}';

View File

@@ -17,7 +17,7 @@ class LiveIndexData {
// my_idol_v1
// area_entrance_v3
// small_card_v1
for (var json in json['card_list']) {
for (final json in json['card_list']) {
switch (json['card_type']) {
case 'my_idol_v1':
followItem = LiveCardList.fromJson(json);