mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 16:05: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,
|
controller: scrollController,
|
||||||
child: SafeArea(
|
child: ListView.builder(
|
||||||
child: ListView.builder(
|
controller: scrollController,
|
||||||
controller: scrollController,
|
itemCount: categories.length,
|
||||||
itemCount: categories.length,
|
shrinkWrap: true,
|
||||||
shrinkWrap: true,
|
itemBuilder: (context, index) {
|
||||||
itemBuilder: (context, index) {
|
if (searchText.value.isEmpty && index == categories.length - 1) {
|
||||||
if (searchText.value.isEmpty && index == categories.length - 1) {
|
return const ShimmerCategories();
|
||||||
return const ShimmerCategories();
|
}
|
||||||
}
|
return CategoryCard(categories[index]);
|
||||||
return CategoryCard(categories[index]);
|
},
|
||||||
},
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
@ -110,24 +110,22 @@ class PersonalizedPage extends HookConsumerWidget {
|
|||||||
|
|
||||||
final newReleases = useQueries.album.newReleases(ref);
|
final newReleases = useQueries.album.newReleases(ref);
|
||||||
|
|
||||||
return SafeArea(
|
return ListView(
|
||||||
child: ListView(
|
children: [
|
||||||
children: [
|
PersonalizedItemCard(
|
||||||
PersonalizedItemCard(
|
playlists:
|
||||||
playlists:
|
featuredPlaylistsQuery.pages.whereType<Page<PlaylistSimple>>(),
|
||||||
featuredPlaylistsQuery.pages.whereType<Page<PlaylistSimple>>(),
|
title: 'Featured',
|
||||||
title: 'Featured',
|
hasNextPage: featuredPlaylistsQuery.hasNextPage,
|
||||||
hasNextPage: featuredPlaylistsQuery.hasNextPage,
|
onFetchMore: featuredPlaylistsQuery.fetchNext,
|
||||||
onFetchMore: featuredPlaylistsQuery.fetchNext,
|
),
|
||||||
),
|
PersonalizedItemCard(
|
||||||
PersonalizedItemCard(
|
albums: newReleases.pages.whereType<Page<AlbumSimple>>(),
|
||||||
albums: newReleases.pages.whereType<Page<AlbumSimple>>(),
|
title: 'New Releases',
|
||||||
title: 'New Releases',
|
hasNextPage: newReleases.hasNextPage,
|
||||||
hasNextPage: newReleases.hasNextPage,
|
onFetchMore: newReleases.fetchNext,
|
||||||
onFetchMore: newReleases.fetchNext,
|
),
|
||||||
),
|
],
|
||||||
],
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user