6.5.4礼物冠名
This commit is contained in:
parent
f03ba293b5
commit
643568f63b
@ -457,7 +457,7 @@ public class LiveGiftPopup extends AbsDialogFragment {
|
||||
int nextLeve = Integer.parseInt(coinModel.getUserNextLevelRewards());
|
||||
|
||||
|
||||
BigDecimal maxLeve = new BigDecimal(coinModel.getUserLevelMax()).add( new BigDecimal(coinModel.getUserLevelCurrentConsumption()));
|
||||
BigDecimal maxLeve = new BigDecimal(coinModel.getUserLevelUpgrades()).add( new BigDecimal(coinModel.getUserLevelCurrentConsumption()));
|
||||
try {
|
||||
String leveNext = String.valueOf(nextLeve);
|
||||
String userNextLevel = coinModel.getUserLevelUpgrades();
|
||||
@ -491,7 +491,7 @@ public class LiveGiftPopup extends AbsDialogFragment {
|
||||
userNextLevelIndexOf, userNextLevelIndexOf + userNextLevelSize,
|
||||
Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
leaveHint.setText(builder);
|
||||
progressBar.setProgress(nextLeve);
|
||||
progressBar.setProgress(new BigDecimal(coinModel.getUserLevelCurrentConsumption()).intValue());
|
||||
progressBar.setMax(maxLeve.intValue());
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
@ -665,6 +665,7 @@ public class LiveGiftPopup extends AbsDialogFragment {
|
||||
.append(liveGiftModel.getNamingLiveName())
|
||||
.append(" ")
|
||||
.append(mContext.getText(com.yunbao.live.R.string.the_title_financier))
|
||||
.append(" ")
|
||||
.append(liveGiftModel.getNamingUserName());
|
||||
namingName.setText(namingNameText.toString());
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user