fix(live-room): 라이브룸 팔로우 버튼 룩앤필을 정렬한다

This commit is contained in:
2026-03-05 15:41:21 +09:00
parent d83c4b12ec
commit d8b2d53747
6 changed files with 73 additions and 12 deletions

View File

@@ -716,17 +716,23 @@ class LiveRoomActivity : BaseActivity<ActivityLiveRoomBinding>(ActivityLiveRoomB
isCreatorFollowNotifyEnabled = true
}
binding.ivCreatorFollow.setImageResource(
if (response.isFollowing) {
if (isCreatorFollowNotifyEnabled) {
R.drawable.btn_following_big
} else {
R.drawable.btn_following_no_alarm_big
}
val followTextRes = if (response.isFollowing) {
R.string.screen_home_following
} else {
R.string.screen_home_follow
}
val followIconRes = if (response.isFollowing) {
if (isCreatorFollowNotifyEnabled) {
R.drawable.ic_live_creator_follow_alarm
} else {
R.drawable.btn_follow_big
R.drawable.ic_live_creator_follow_no_alarm
}
)
} else {
R.drawable.ic_live_creator_follow_plus
}
binding.tvCreatorFollow.text = getString(followTextRes)
binding.ivCreatorFollowIcon.setImageResource(followIconRes)
binding.ivCreatorFollow.setOnClickListener {
if (response.isFollowing) {