fix: non-primary CustomScrollViews in IndexedStack tabs

This commit is contained in:
edde746
2026-03-25 19:10:35 +01:00
parent 5e31ad9c67
commit a1841804b6
3 changed files with 3 additions and 0 deletions
@@ -136,6 +136,7 @@ class DownloadsScreenState extends State<DownloadsScreen> with TickerProviderSta
Widget build(BuildContext context) {
return Scaffold(
body: CustomScrollView(
primary: false,
slivers: [
DesktopSliverAppBar(
title: _buildAppBarTitle(),
+1
View File
@@ -226,6 +226,7 @@ class _SearchScreenState extends State<SearchScreen> with Refreshable, FullRefre
return Scaffold(
body: SafeArea(
child: CustomScrollView(
primary: false,
slivers: [
DesktopSliverAppBar(title: Text(t.common.search), floating: true),
SliverToBoxAdapter(
@@ -238,6 +238,7 @@ class _SettingsScreenState extends State<SettingsScreen> with FocusableTab {
body: Focus(
onKeyEvent: _handleKeyEvent,
child: CustomScrollView(
primary: false,
slivers: [
ExcludeFocus(child: CustomAppBar(title: Text(t.settings.title), pinned: true)),
SliverPadding(