Merge pull request #753 from micahmo/fix/single-season

Fix missing season tabs
This commit is contained in:
edde746
2026-03-25 15:45:11 +01:00
committed by GitHub
+1 -1
View File
@@ -1204,7 +1204,7 @@ class _MediaDetailScreenState extends State<MediaDetailScreen>
final isAlways = flattenSeasons == flattenSeasonsAlways;
final isSingleSeason = flattenSeasons == flattenSeasonsSingleSeason;
final shouldShowEpisodesDirectly =
isAlways || seasonsWithServerId.length <= 1 || (isSingleSeason && seasonsWithServerId.length == 1);
isAlways || seasonsWithServerId.isEmpty || (isSingleSeason && seasonsWithServerId.length == 1);
// Create focus nodes for season tabs
_updateSeasonTabFocusNodes(seasonsWithServerId.length);