From 448a5d084cbb60e45121b72c2342053c22236eb1 Mon Sep 17 00:00:00 2001 From: edde746 <86283021+edde746@users.noreply.github.com> Date: Wed, 20 May 2026 22:22:46 +0200 Subject: [PATCH] fix(tv): hide season poster tab setting --- lib/screens/media_detail_screen.dart | 4 +++- .../settings/appearance_settings_screen.dart | 13 +++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/lib/screens/media_detail_screen.dart b/lib/screens/media_detail_screen.dart index 186ae651..7c9640c8 100644 --- a/lib/screens/media_detail_screen.dart +++ b/lib/screens/media_detail_screen.dart @@ -1910,6 +1910,8 @@ class _MediaDetailScreenState extends State } Widget _buildSeasonTabsContent(BuildContext context, bool showPosters) { + final showSeasonPosters = showPosters && !PlatformDetector.isTV(); + return HorizontalScrollWithArrows( controller: _seasonTabsScrollController, builder: (scrollController) => SingleChildScrollView( @@ -1922,7 +1924,7 @@ class _MediaDetailScreenState extends State Offset? tapPosition; final posterPath = season.thumbPath; Widget? topImage; - if (showPosters && posterPath != null && posterPath.isNotEmpty) { + if (showSeasonPosters && posterPath != null && posterPath.isNotEmpty) { const posterWidth = 72.0; const posterHeight = 108.0; final dpr = MediaImageHelper.effectiveDevicePixelRatio(context); diff --git a/lib/screens/settings/appearance_settings_screen.dart b/lib/screens/settings/appearance_settings_screen.dart index a763e099..c66a4719 100644 --- a/lib/screens/settings/appearance_settings_screen.dart +++ b/lib/screens/settings/appearance_settings_screen.dart @@ -39,12 +39,13 @@ class AppearanceSettingsScreen extends StatelessWidget { title: t.settings.showEpisodeNumberOnCards, subtitle: t.settings.showEpisodeNumberOnCardsDescription, ), - SettingSwitchTile( - pref: SettingsService.showSeasonPostersOnTabs, - icon: Symbols.image_rounded, - title: t.settings.showSeasonPostersOnTabs, - subtitle: t.settings.showSeasonPostersOnTabsDescription, - ), + if (!PlatformDetector.isTV()) + SettingSwitchTile( + pref: SettingsService.showSeasonPostersOnTabs, + icon: Symbols.image_rounded, + title: t.settings.showSeasonPostersOnTabs, + subtitle: t.settings.showSeasonPostersOnTabsDescription, + ), SettingsSectionHeader(t.settings.homeScreen), if (!PlatformDetector.isTV())