Skip to content

Commit

Permalink
fix: add dynamic border radius to recent played songs too
Browse files Browse the repository at this point in the history
  • Loading branch information
gokadzev committed Dec 29, 2024
1 parent a1dd5ca commit 412ee38
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/screens/user_songs_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ class _UserSongsPageState extends State<UserSongsPage> {
(BuildContext context, int index) {
final song = songsList[index];
song['isOffline'] = title == context.l10n!.offlineSongs;

final borderRadius =
getItemBorderRadius(index, songsList.length);

return SongBar(
song,
true,
Expand All @@ -210,6 +214,7 @@ class _UserSongsPageState extends State<UserSongsPage> {
songIndex: index,
),
},
borderRadius: borderRadius,
);
},
childCount: songsList.length,
Expand Down

0 comments on commit 412ee38

Please sign in to comment.