mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
fix(home): bottom player transparency
This commit is contained in:
parent
e04515d8e2
commit
20c424c77f
@ -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]);
|
||||
},
|
||||
),
|
||||
),
|
||||
);
|
||||
|
@ -110,24 +110,22 @@ class PersonalizedPage extends HookConsumerWidget {
|
||||
|
||||
final newReleases = useQueries.album.newReleases(ref);
|
||||
|
||||
return SafeArea(
|
||||
child: ListView(
|
||||
children: [
|
||||
PersonalizedItemCard(
|
||||
playlists:
|
||||
featuredPlaylistsQuery.pages.whereType<Page<PlaylistSimple>>(),
|
||||
title: 'Featured',
|
||||
hasNextPage: featuredPlaylistsQuery.hasNextPage,
|
||||
onFetchMore: featuredPlaylistsQuery.fetchNext,
|
||||
),
|
||||
PersonalizedItemCard(
|
||||
albums: newReleases.pages.whereType<Page<AlbumSimple>>(),
|
||||
title: 'New Releases',
|
||||
hasNextPage: newReleases.hasNextPage,
|
||||
onFetchMore: newReleases.fetchNext,
|
||||
),
|
||||
],
|
||||
),
|
||||
return ListView(
|
||||
children: [
|
||||
PersonalizedItemCard(
|
||||
playlists:
|
||||
featuredPlaylistsQuery.pages.whereType<Page<PlaylistSimple>>(),
|
||||
title: 'Featured',
|
||||
hasNextPage: featuredPlaylistsQuery.hasNextPage,
|
||||
onFetchMore: featuredPlaylistsQuery.fetchNext,
|
||||
),
|
||||
PersonalizedItemCard(
|
||||
albums: newReleases.pages.whereType<Page<AlbumSimple>>(),
|
||||
title: 'New Releases',
|
||||
hasNextPage: newReleases.hasNextPage,
|
||||
onFetchMore: newReleases.fetchNext,
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user