@@ -26,7 +26,6 @@ import '../media/media_hub.dart';
|
||||
import '../utils/provider_extensions.dart';
|
||||
import '../utils/plex_season_display.dart';
|
||||
import '../media/media_item.dart';
|
||||
import '../media/season_title.dart';
|
||||
import '../media/episode_collection.dart';
|
||||
import '../media/media_item_types.dart';
|
||||
import '../media/media_kind.dart';
|
||||
@@ -1493,7 +1492,7 @@ class _MediaDetailScreenState extends State<MediaDetailScreen>
|
||||
id: seasonId,
|
||||
backend: _metadata.backend,
|
||||
kind: MediaKind.season,
|
||||
title: localizedSeasonLabel(title: firstEp.parentTitle, index: entry.key),
|
||||
title: firstEp.parentTitle?.isNotEmpty == true ? firstEp.parentTitle : t.common.seasonNumber(number: entry.key),
|
||||
index: entry.key,
|
||||
leafCount: entry.value.length,
|
||||
thumbPath: firstEp.parentThumbPath,
|
||||
@@ -2250,7 +2249,7 @@ class _MediaDetailScreenState extends State<MediaDetailScreen>
|
||||
onSecondaryTapDown: (details) => tapPosition = details.globalPosition,
|
||||
onSecondaryTap: () => _showSeasonTabContextMenu(index, position: tapPosition),
|
||||
child: FocusableTabChip(
|
||||
label: season.localizedSeasonTitle,
|
||||
label: season.title!,
|
||||
isSelected: index == _selectedSeasonIndex,
|
||||
topImage: topImage,
|
||||
focusNode: _seasonTabFocusNodes.length > index ? _seasonTabFocusNodes[index] : null,
|
||||
@@ -3684,7 +3683,7 @@ class _MediaDetailScreenState extends State<MediaDetailScreen>
|
||||
hubs.add(
|
||||
MediaHub(
|
||||
id: '$_tvDetailSeasonHubIdPrefix$i',
|
||||
title: season.localizedSeasonTitle,
|
||||
title: season.title?.isNotEmpty == true ? season.title! : (season.displaySubtitle ?? season.displayTitle),
|
||||
type: 'episode',
|
||||
items: episodes,
|
||||
size: total,
|
||||
|
||||
Reference in New Issue
Block a user