Skip to content

Commit

Permalink
修复使用 Web 接口时剧集系列列表不显示标题和背景
Browse files Browse the repository at this point in the history
  • Loading branch information
aaa1115910 committed Oct 1, 2023
1 parent 946072f commit a646b6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ private fun SeasonSelectorContent(
)
) {
Text(
text = seasons[index].title ?: "Unknown Title",
text = seasons[index].title ?: seasons[index].shortTitle,
style = MaterialTheme.typography.displayMedium
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ data class PgcSeason(
title = season.title,
shortTitle = season.seasonTitle,
cover = season.cover,
horizontalCover = season.horizontalCover
horizontalCover = season.horizontalCover ?: season.newEp.cover
)
}
}
Expand Down

0 comments on commit a646b6b

Please sign in to comment.