Skip to content

Commit

Permalink
Improved code
Browse files Browse the repository at this point in the history
  • Loading branch information
gokadzev committed Dec 14, 2023
1 parent 5367b2a commit 858e484
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions lib/screens/now_playing_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -222,13 +222,11 @@ class NowPlayingPage extends StatelessWidget {
);
},
),
IconButton(
iconSize: 20,
icon: Icon(
Icons.add,
color: colorScheme.primary,
),
onPressed: () {
customIconButton(
Icons.add,
colorScheme.primary,
20,
() {
_showAddToPlaylistDialog(
context,
mediaItemToMap(mediaItem),
Expand Down

0 comments on commit 858e484

Please sign in to comment.