라이브 룸 - 라이브 크리에이터 프로필 영역에 팔로우 버튼 제거

This commit is contained in:
2026-02-04 16:55:24 +09:00
parent 9e867c3e16
commit fc43022a95
2 changed files with 15 additions and 53 deletions

View File

@@ -2,8 +2,8 @@ package kr.co.vividnext.sodalive.live.room
import android.animation.Animator
import android.animation.AnimatorListenerAdapter
import android.animation.ValueAnimator
import android.animation.ObjectAnimator
import android.animation.ValueAnimator
import android.annotation.SuppressLint
import android.app.AlertDialog
import android.content.ClipData
@@ -921,29 +921,6 @@ class LiveRoomActivity : BaseActivity<ActivityLiveRoomBinding>(ActivityLiveRoomB
}
}
if (response.creatorId != SharedPreferenceManager.userId) {
binding.ivCreatorFollow.visibility = View.VISIBLE
if (response.isFollowing) {
binding.ivCreatorFollow.setImageResource(R.drawable.btn_following)
binding.ivCreatorFollow.setOnClickListener {
viewModel.creatorUnFollow(
creatorId = response.creatorId,
roomId = roomId
)
}
} else {
binding.ivCreatorFollow.setImageResource(R.drawable.btn_follow)
binding.ivCreatorFollow.setOnClickListener {
viewModel.creatorFollow(
creatorId = response.creatorId,
roomId = roomId
)
}
}
} else {
binding.ivCreatorFollow.visibility = View.GONE
}
isHost = response.creatorId == SharedPreferenceManager.userId
initLikeHeartButton()
initRouletteSettingButton()