재생목록 플레이어 추가
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user