pull/24529/merge
mmolehant-tech 2025-12-17 18:39:27 +01:00 committed by GitHub
commit 7097f9daa8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -62,6 +62,10 @@ class Timeline extends StatelessWidget {
floatingActionButton: const DownloadStatusFloatingButton(),
body: LayoutBuilder(
builder: (_, constraints) => ProviderScope(
// Key changes when dimensions change significantly, forcing rebuild on fold/unfold
key: ValueKey(
'timeline_${(constraints.maxWidth / 50).round()}_${(constraints.maxHeight / 50).round()}',
),
overrides: [
timelineArgsProvider.overrideWith(
(ref) => TimelineArgs(