fix: user album loading next page indicator

This commit is contained in:
Kingkor Roy Tirtho 2024-03-19 22:08:41 +06:00
parent 3081237999
commit 36316f5e94

View File

@ -105,11 +105,14 @@ class UserAlbums extends HookConsumerWidget {
), ),
if (albums.isNotEmpty && if (albums.isNotEmpty &&
albumsQuery.asData?.value.hasMore == true) albumsQuery.asData?.value.hasMore == true)
Waypoint( Skeletonizer(
controller: controller, enabled: true,
isGrid: true, child: Waypoint(
onTouchEdge: albumsQueryNotifier.fetchMore, controller: controller,
child: AlbumCard(FakeData.album), isGrid: true,
onTouchEdge: albumsQueryNotifier.fetchMore,
child: AlbumCard(FakeData.album),
),
) )
], ],
), ),