diff --git a/lib/pages/home/genres.dart b/lib/pages/home/genres.dart index 598092624..94625b49c 100644 --- a/lib/pages/home/genres.dart +++ b/lib/pages/home/genres.dart @@ -68,18 +68,16 @@ class GenrePage extends HookConsumerWidget { } }, controller: scrollController, - child: SafeArea( - child: ListView.builder( - controller: scrollController, - itemCount: categories.length, - shrinkWrap: true, - itemBuilder: (context, index) { - if (searchText.value.isEmpty && index == categories.length - 1) { - return const ShimmerCategories(); - } - return CategoryCard(categories[index]); - }, - ), + child: ListView.builder( + controller: scrollController, + itemCount: categories.length, + shrinkWrap: true, + itemBuilder: (context, index) { + if (searchText.value.isEmpty && index == categories.length - 1) { + return const ShimmerCategories(); + } + return CategoryCard(categories[index]); + }, ), ), ); diff --git a/lib/pages/home/personalized.dart b/lib/pages/home/personalized.dart index 78fdbda03..ce1663aa3 100644 --- a/lib/pages/home/personalized.dart +++ b/lib/pages/home/personalized.dart @@ -110,24 +110,22 @@ class PersonalizedPage extends HookConsumerWidget { final newReleases = useQueries.album.newReleases(ref); - return SafeArea( - child: ListView( - children: [ - PersonalizedItemCard( - playlists: - featuredPlaylistsQuery.pages.whereType>(), - title: 'Featured', - hasNextPage: featuredPlaylistsQuery.hasNextPage, - onFetchMore: featuredPlaylistsQuery.fetchNext, - ), - PersonalizedItemCard( - albums: newReleases.pages.whereType>(), - title: 'New Releases', - hasNextPage: newReleases.hasNextPage, - onFetchMore: newReleases.fetchNext, - ), - ], - ), + return ListView( + children: [ + PersonalizedItemCard( + playlists: + featuredPlaylistsQuery.pages.whereType>(), + title: 'Featured', + hasNextPage: featuredPlaylistsQuery.hasNextPage, + onFetchMore: featuredPlaylistsQuery.fetchNext, + ), + PersonalizedItemCard( + albums: newReleases.pages.whereType>(), + title: 'New Releases', + hasNextPage: newReleases.hasNextPage, + onFetchMore: newReleases.fetchNext, + ), + ], ); } }