fix:调整礼物墙等级背景展示错误问题

This commit is contained in:
Max
2024-01-31 17:23:54 +08:00
parent e2cf045ab7
commit ec2e46b0a4

View File

@@ -63,25 +63,25 @@ public class UserGiftAdapter extends UserTabBaseAdapter {
TextView priceView = helper.getView(R.id.gift_price);
int bgResId;
switch (item.getGiftLevel()) {
case 1:
case 2:
bgResId = R.drawable.gift_wall_bg_level_1;
break;
case 2:
case 3:
bgResId = R.drawable.gift_wall_bg_level_2;
break;
case 3:
case 4:
bgResId = R.drawable.gift_wall_bg_level_3;
break;
case 4:
case 5:
bgResId = R.drawable.gift_wall_bg_level_4;
break;
case 5:
case 6:
bgResId = R.drawable.gift_wall_bg_level_5;
break;
case 6:
case 7:
bgResId = R.drawable.gift_wall_bg_level_6;
break;
case 7:
case 8:
bgResId = R.drawable.gift_wall_bg_level_7;
break;
default: