Skip to content

Commit b3d34cb

Browse files
committed
fix: make empty user songs page fully scrollable
1 parent 0b772b0 commit b3d34cb

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎lib/screens/user_songs_page.dart‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,16 @@ class _UserSongsPageState extends State<UserSongsPage> {
129129
child: _buildHeaderSection(title, icon, songsLength, isOfflineSongs),
130130
),
131131
buildSongList(title),
132+
if (songsLength == 0)
133+
SliverToBoxAdapter(
134+
child: SizedBox(
135+
height:
136+
MediaQuery.sizeOf(context).width >
137+
MediaQuery.sizeOf(context).height
138+
? 320
139+
: 280,
140+
),
141+
),
132142
const SliverMiniPlayerBottomSpace(),
133143
],
134144
);

0 commit comments

Comments
 (0)