From 5f70b6852fd22fa6b5b9d946fbede889e8e5ca1c Mon Sep 17 00:00:00 2001 From: caadiq Date: Sat, 4 Apr 2026 13:04:03 +0900 Subject: [PATCH] =?UTF-8?q?fix(app):=20=EA=B3=A1=20=EC=83=81=EC=84=B8=20?= =?UTF-8?q?=ED=99=94=EB=A9=B4=20=EB=AE=A4=EC=A7=81=EB=B9=84=EB=94=94?= =?UTF-8?q?=EC=98=A4/=EC=8A=A4=ED=8E=98=EC=85=9C=20=EC=98=81=EC=83=81=20?= =?UTF-8?q?=EA=B5=AC=EB=B6=84=20=ED=91=9C=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit video_type이 'special'이면 '스페셜 영상', 그 외는 '뮤직비디오'로 표시 Co-Authored-By: Claude Opus 4.6 (1M context) --- app/lib/views/album/track_detail_view.dart | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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, ),