Fix missing season tabs

This commit is contained in:
Micah Morrison
2026-03-25 09:20:49 -04:00
parent fcc6186796
commit 477b92291b
+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);