fix: prevent album page get rebuilt when resuming app (#25862)

This commit is contained in:
Alex
2026-02-03 10:35:53 -06:00
committed by GitHub
parent 0a9d969b47
commit 3870ebc3c6
2 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ class _DriftAlbumsPageState extends ConsumerState<DriftAlbumsPage> {
@override
Widget build(BuildContext context) {
final albumCount = ref.watch(remoteAlbumProvider.select((state) => state.albums.length));
final showScrollbar = albumCount > 10;
final showScrollbar = albumCount > 20;
final scrollView = CustomScrollView(
controller: _scrollController,