Skip to content

Commit

Permalink
chore: display description/comment in yt playlist pages
Browse files Browse the repository at this point in the history
  • Loading branch information
MSOB7YY committed Dec 21, 2023
1 parent 4703c96 commit d7797cc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions lib/youtube/pages/yt_playlist_subpage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,13 @@ class _YTNormalPlaylistSubpageState extends State<YTNormalPlaylistSubpage> {
playlist.tracks.length.displayVideoKeyword,
style: context.textTheme.displaySmall,
),
if (playlist.comment != '') ...[
const SizedBox(height: 2.0),
Text(
playlist.comment,
style: context.textTheme.displaySmall,
),
],
],
),
),
Expand Down Expand Up @@ -442,6 +449,13 @@ class _YTHostedPlaylistSubpageState extends State<YTHostedPlaylistSubpage> {
playlist.uploaderName ?? '',
style: context.textTheme.displaySmall,
),
if (playlist.description != null && playlist.description != '') ...[
const SizedBox(height: 2.0),
Text(
playlist.description!,
style: context.textTheme.displaySmall,
),
],
],
),
),
Expand Down

0 comments on commit d7797cc

Please sign in to comment.