Skip to content

Commit

Permalink
fix: loading cover alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Yesterday17 committed Sep 17, 2024
1 parent 7881ab4 commit 49bca98
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/ui/widgets/cover.dart
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,14 @@ class MusicCover extends ConsumerWidget {
);
default:
return Stack(
alignment: Alignment.center,
children: [
Shimmer.fromColors(
baseColor: context.colorScheme.secondaryContainer,
highlightColor: context.colorScheme.onPrimary,
child: const DummyMusicCover(),
),
const Center(
child: Icon(Icons.music_note, size: 32),
)
const Icon(Icons.music_note, size: 32),
],
);
}
Expand Down

0 comments on commit 49bca98

Please sign in to comment.