修复
This commit is contained in:
@@ -102,7 +102,7 @@ public class SendRendPacketPopup extends CenterPopupView {
|
||||
rill.setTextColor(Color.WHITE);
|
||||
|
||||
} else {
|
||||
rill.setTextColor(Color.parseColor("#FD2D46"));
|
||||
rill.setTextColor(Color.parseColor("#FF6F3C"));
|
||||
ToastUtil.show(getContext().getString(R.string.amount) + String.format(getContext().getString(R.string.range_range_is), "200~10000"));
|
||||
}
|
||||
|
||||
@@ -135,11 +135,11 @@ public class SendRendPacketPopup extends CenterPopupView {
|
||||
totalConsumptionOfDrill.setText(String.format(getContext().getString(R.string.total_consumption_of_drill), "0"));
|
||||
} else {
|
||||
int numberInt = Integer.parseInt(number);
|
||||
if (numberInt >= 1 && numberInt <= 100) {
|
||||
if (numberInt >= 1 && numberInt < 101) {
|
||||
totalConsumptionOfDrill.setText(String.format(getContext().getString(R.string.total_consumption_of_drill), String.valueOf((rillInt * numberInt))));
|
||||
total.setTextColor(Color.WHITE);
|
||||
} else {
|
||||
total.setTextColor(Color.parseColor("#FD2D46"));
|
||||
total.setTextColor(Color.parseColor("#FF6F3C"));
|
||||
ToastUtil.show(getContext().getString(R.string.lucky_red_envelope_amount) + String.format(getContext().getString(R.string.range_range_is), "1~100"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user