재생목록 플레이어 추가

This commit is contained in:
Yu Sung
2024-12-17 23:13:19 +09:00
parent 9ca1493255
commit c3e60bd92c
21 changed files with 829 additions and 8 deletions

View File

@@ -55,6 +55,9 @@ struct ContentDetailPlayView: View {
} else if audioContent.releaseDate == nil && !isAlertPreview || (audioContent.isActivePreview && !audioContent.contentUrl.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty) {
Image(isPlaying() ? "btn_audio_content_pause" : isAlertPreview ? "btn_audio_content_preview_play" : "btn_audio_content_play")
.onTapGesture {
ContentPlayManager.shared.stopAudio()
ContentPlayerPlayManager.shared.resetPlayer()
if isPlaying() {
contentPlayManager.pauseAudio()
} else {