diff --git a/app/lib/views/album/track_detail_view.dart b/app/lib/views/album/track_detail_view.dart index 250f477..766ba8b 100644 --- a/app/lib/views/album/track_detail_view.dart +++ b/app/lib/views/album/track_detail_view.dart @@ -111,12 +111,13 @@ class _TrackDetailViewState extends State { child: _TrackHeader(track: track), ), - // 뮤직비디오 + // 뮤직비디오 / 스페셜 영상 if (youtubeVideoId != null) SliverToBoxAdapter( child: _MusicVideoSection( videoId: youtubeVideoId, trackTitle: track.title, + videoType: track.videoType, onTap: () => _openYoutube(youtubeVideoId), ), ), @@ -282,15 +283,17 @@ class _TrackHeader extends StatelessWidget { } } -/// 뮤직비디오 섹션 +/// 뮤직비디오 / 스페셜 영상 섹션 class _MusicVideoSection extends StatelessWidget { final String videoId; final String trackTitle; + final String? videoType; final VoidCallback onTap; const _MusicVideoSection({ required this.videoId, required this.trackTitle, + this.videoType, required this.onTap, }); @@ -313,9 +316,9 @@ class _MusicVideoSection extends StatelessWidget { ), ), const SizedBox(width: 8), - const Text( - '뮤직비디오', - style: TextStyle( + Text( + videoType == 'special' ? '스페셜 영상' : '뮤직비디오', + style: const TextStyle( fontSize: 16, fontWeight: FontWeight.bold, ),