fix(ui): app-bar tab chip strips scroll instead of overflowing

Shared TabChipStrip replaces the plain Rows in libraries/downloads/live
TV app bars (and live TV's hand-rolled scroll wrapper); chips center
themselves on focus so d-pad reaches off-screen tabs.
This commit is contained in:
edde746
2026-07-06 12:17:03 +02:00
parent 214a7c13dc
commit adf732a1a1
5 changed files with 33 additions and 8 deletions
+2 -2
View File
@@ -24,6 +24,7 @@ import '../../utils/content_utils.dart';
import '../../widgets/app_menu.dart';
import '../../widgets/backend_badge.dart';
import '../../widgets/desktop_app_bar.dart';
import '../../widgets/focusable_tab_chip.dart';
import '../../widgets/library_management_sheet.dart';
import '../../services/storage_service.dart';
import '../../mixins/refreshable.dart';
@@ -681,8 +682,7 @@ class _LibrariesScreenState extends State<LibrariesScreen>
// On desktop/TV with side nav, show tabs in app bar (library name is in side nav)
if (PlatformDetector.shouldUseSideNavigation(context)) {
return Row(
mainAxisSize: .min,
return TabChipStrip(
children: [
for (int i = 0; i < _visibleTabs.length; i++) ...[
if (i > 0) const SizedBox(width: 8),