修复#217问题

This commit is contained in:
zlzw 2023-07-06 17:45:23 +08:00
parent 3807ff8916
commit a907897239

View File

@ -66,10 +66,12 @@ public class RedPacketInfoActivity extends AbsActivity implements View.OnClickLi
backAccountText.setText(R.string.red_packet_info_residue_none);
} else{
gold.setVisibility(View.VISIBLE);
backAccountText.setText(mContext.getString(R.string.red_packet_info_residue_back) + " +" + bean.getAmountDiamond());
}
if (bean.getRedPacketStatus() == 2 && bean.getAmountRefund() == 0) {
icon.setImageResource(R.mipmap.gold_coin);
gold.setImageResource(R.mipmap.diamond);
backAccountText.setText(mContext.getString(R.string.red_packet_info_residue_back) + " +" + bean.getAmountDiamond());
}else if(bean.getRedPacketStatus()==2 && bean.getAmountRefund()>0){
gold.setImageResource(R.mipmap.gold_coin);
backAccountText.setText(mContext.getString(R.string.red_packet_info_residue_back) + " +" + bean.getAmountRefund());
}
}