콘텐츠 상세

- 오픈 예정 날짜 데이터가 있더라도 콘텐츠를 올린 크리에이터의 경우 재생버튼이 동작하도록 수정
This commit is contained in:
klaus 2024-01-11 00:27:45 +09:00
parent d67bb8be50
commit b0bfe2ac06
1 changed files with 4 additions and 1 deletions

View File

@ -547,7 +547,10 @@ class AudioContentDetailActivity : BaseActivity<ActivityAudioContentDetailBindin
.apply(RequestOptions().override((screenWidth - 13.3f.dpToPx()).toInt()))
.into(binding.ivCover)
if (response.releaseDate == null) {
if (
response.releaseDate == null ||
response.creator.creatorId == SharedPreferenceManager.userId
) {
binding.ivPlayOrPause.visibility = View.VISIBLE
binding.ivPlayOrPause.setOnClickListener {
startService(