콘텐츠 상세
- 오픈 예정 날짜 데이터가 있더라도 콘텐츠를 올린 크리에이터의 경우 재생버튼이 동작하도록 수정
This commit is contained in:
parent
d67bb8be50
commit
b0bfe2ac06
|
@ -547,7 +547,10 @@ class AudioContentDetailActivity : BaseActivity<ActivityAudioContentDetailBindin
|
||||||
.apply(RequestOptions().override((screenWidth - 13.3f.dpToPx()).toInt()))
|
.apply(RequestOptions().override((screenWidth - 13.3f.dpToPx()).toInt()))
|
||||||
.into(binding.ivCover)
|
.into(binding.ivCover)
|
||||||
|
|
||||||
if (response.releaseDate == null) {
|
if (
|
||||||
|
response.releaseDate == null ||
|
||||||
|
response.creator.creatorId == SharedPreferenceManager.userId
|
||||||
|
) {
|
||||||
binding.ivPlayOrPause.visibility = View.VISIBLE
|
binding.ivPlayOrPause.visibility = View.VISIBLE
|
||||||
binding.ivPlayOrPause.setOnClickListener {
|
binding.ivPlayOrPause.setOnClickListener {
|
||||||
startService(
|
startService(
|
||||||
|
|
Loading…
Reference in New Issue