修复#217问题
This commit is contained in:
parent
3807ff8916
commit
a907897239
@ -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());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user