Skip to content

Commit

Permalink
Add: it is now possible to play "Recommended for you" songs as a play…
Browse files Browse the repository at this point in the history
…list (Requested in #284)
  • Loading branch information
gokadzev committed Nov 18, 2023
1 parent 52192e0 commit 3f8325c
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions lib/screens/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -231,14 +231,28 @@ class _HomePageState extends State<HomePage> {
),
),
Padding(
padding: const EdgeInsets.fromLTRB(20, 10, 20, 10),
child: Text(
context.l10n!.recommendedForYou,
style: TextStyle(
color: colorScheme.primary,
fontSize: 20,
fontWeight: FontWeight.bold,
),
padding: const EdgeInsets.fromLTRB(20, 20, 10, 15),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text(
context.l10n!.recommendedForYou,
style: TextStyle(
color: colorScheme.primary,
fontSize: 20,
fontWeight: FontWeight.bold,
),
),
IconButton(
onPressed: () => setActivePlaylist({
'title': context.l10n!.recommendedForYou,
'list': data,
}),
color: colorScheme.primary,
iconSize: 35,
icon: const Icon(FluentIcons.play_circle_24_filled),
),
],
),
),
ListView.separated(
Expand Down

0 comments on commit 3f8325c

Please sign in to comment.