잠금화면 플레이어

- 이미지 다운로드 Kingfisher로 변경
- 시간 표시 player에서 불러오지 않고 플레이어 화면에 표시하는 프로퍼티로 시간을 표시하도록 수정
This commit is contained in:
Yu Sung
2024-12-18 17:38:07 +09:00
parent 3c32c68b5f
commit 6c12152f81
2 changed files with 23 additions and 40 deletions

View File

@@ -55,7 +55,6 @@ 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() {