mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-10-01 05:39:34 +02:00
fix(ui): match GridSkeleton cover height with actual album cards
This commit is contained in:
1 parent
0b20cb895e
commit
3fd13e9930
1 file changed
+7
-4
@@ -405,16 +405,19 @@ class GridSkeleton extends StatelessWidget {
|
|||||||
crossAxisCount: crossAxisCount,
|
crossAxisCount: crossAxisCount,
|
||||||
mainAxisSpacing: 12,
|
mainAxisSpacing: 12,
|
||||||
crossAxisSpacing: 12,
|
crossAxisSpacing: 12,
|
||||||
childAspectRatio: 0.78,
|
childAspectRatio: 0.75,
|
||||||
),
|
),
|
||||||
itemCount: itemCount,
|
itemCount: itemCount,
|
||||||
itemBuilder: (context, index) {
|
itemBuilder: (context, index) {
|
||||||
return Column(
|
return Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
const AspectRatio(
|
const Expanded(
|
||||||
aspectRatio: 1,
|
child: SkeletonBox(
|
||||||
child: SkeletonBox(width: double.infinity, height: 0),
|
width: double.infinity,
|
||||||
|
height: double.infinity,
|
||||||
|
borderRadius: 12,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(height: 8),
|
const SizedBox(height: 8),
|
||||||
SkeletonBox(
|
SkeletonBox(
|
||||||
|
|||||||
Reference in new issue
Block a user