From 13ac1fb435f15371fc090b0a2ab463b15639843e Mon Sep 17 00:00:00 2001 From: klaus Date: Tue, 17 Mar 2026 16:11:25 +0900 Subject: [PATCH] =?UTF-8?q?fix(profile):=20=ED=94=84=EB=A1=9C=ED=95=84=20?= =?UTF-8?q?=ED=9B=84=EC=9B=90=20=EB=9E=AD=ED=82=B9=20=EC=A0=84=EC=B2=B4?= =?UTF-8?q?=EB=B3=B4=EA=B8=B0=20=EC=99=95=EA=B4=80=20UI=20=EC=9C=84?= =?UTF-8?q?=EC=B9=98=EC=99=80=20=ED=81=AC=EA=B8=B0=EB=A5=BC=20=ED=86=B5?= =?UTF-8?q?=EC=9D=BC=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../donation/UserProfileDonationAllAdapter.kt | 17 +++-------------- .../layout/item_user_profile_donation_all.xml | 18 ++++++------------ 2 files changed, 9 insertions(+), 26 deletions(-) diff --git a/app/src/main/java/kr/co/vividnext/sodalive/explorer/profile/donation/UserProfileDonationAllAdapter.kt b/app/src/main/java/kr/co/vividnext/sodalive/explorer/profile/donation/UserProfileDonationAllAdapter.kt index 17811c7c..dc0a3aef 100644 --- a/app/src/main/java/kr/co/vividnext/sodalive/explorer/profile/donation/UserProfileDonationAllAdapter.kt +++ b/app/src/main/java/kr/co/vividnext/sodalive/explorer/profile/donation/UserProfileDonationAllAdapter.kt @@ -50,10 +50,7 @@ class UserProfileDonationAllAdapter(private val userId: Long) : when (position) { 0 -> { - binding.ivBg.setImageResource(R.drawable.bg_circle_ffdc00_ffb600) - binding.ivBg.visibility = View.VISIBLE - - binding.ivCrown.setImageResource(R.drawable.ic_crown_1) + binding.ivCrown.setImageResource(R.drawable.img_rank_1) binding.ivCrown.visibility = View.VISIBLE binding.rlDonationRankingRoot.setBackgroundResource( if (items.size == 1) { @@ -77,10 +74,7 @@ class UserProfileDonationAllAdapter(private val userId: Long) : } 1 -> { - binding.ivBg.setImageResource(R.drawable.bg_circle_ffffff_9f9f9f) - binding.ivBg.visibility = View.VISIBLE - - binding.ivCrown.setImageResource(R.drawable.ic_crown_2) + binding.ivCrown.setImageResource(R.drawable.img_rank_2) binding.ivCrown.visibility = View.VISIBLE if (items.size == 2) { @@ -107,10 +101,7 @@ class UserProfileDonationAllAdapter(private val userId: Long) : } 2 -> { - binding.ivBg.setImageResource(R.drawable.bg_circle_e6a77a_c67e4a) - binding.ivBg.visibility = View.VISIBLE - - binding.ivCrown.setImageResource(R.drawable.ic_crown_3) + binding.ivCrown.setImageResource(R.drawable.img_rank_3) binding.ivCrown.visibility = View.VISIBLE binding.rlDonationRankingRoot.setBackgroundResource( R.drawable.bg_bottom_round_corner_4_7_13181b @@ -126,8 +117,6 @@ class UserProfileDonationAllAdapter(private val userId: Long) : } else -> { - binding.ivBg.setImageResource(0) - binding.ivBg.visibility = View.GONE binding.ivCrown.visibility = View.GONE binding.rlDonationRanking.setBackgroundResource(0) binding.rlDonationRanking.background = null diff --git a/app/src/main/res/layout/item_user_profile_donation_all.xml b/app/src/main/res/layout/item_user_profile_donation_all.xml index 61a269c1..9d694671 100644 --- a/app/src/main/res/layout/item_user_profile_donation_all.xml +++ b/app/src/main/res/layout/item_user_profile_donation_all.xml @@ -13,16 +13,10 @@ - -