修复
This commit is contained in:
parent
dd4172fc3d
commit
75e342975c
@ -1248,6 +1248,7 @@ Limited ride And limited avatar frame</string>
|
||||
<string name="check_out_your_luck">Check out your luck</string>
|
||||
<string name="lucky_red_envelope">%s drew %s in the lucky red envelope</string>
|
||||
<string name="lucky_red_envelope_amount">number</string>
|
||||
<string name="red_envelope_released_successfully">Red envelope released successfully</string>
|
||||
|
||||
|
||||
</resources>
|
||||
|
@ -1243,4 +1243,5 @@
|
||||
<string name="check_out_your_luck">查看大家手氣</string>
|
||||
<string name="lucky_red_envelope">" %s 在 好運紅包 中抽到了 %s"</string>
|
||||
<string name="lucky_red_envelope_amount">数量</string>
|
||||
<string name="red_envelope_released_successfully">红包发布成功</string>
|
||||
</resources>
|
||||
|
@ -1242,4 +1242,5 @@
|
||||
<string name="check_out_your_luck">查看大家手氣</string>
|
||||
<string name="lucky_red_envelope">" %s 在 好運紅包 中抽到了 %s"</string>
|
||||
<string name="lucky_red_envelope_amount">数量</string>
|
||||
<string name="red_envelope_released_successfully">红包发布成功</string>
|
||||
</resources>
|
||||
|
@ -1243,6 +1243,7 @@
|
||||
<string name="check_out_your_luck">查看大家手氣</string>
|
||||
<string name="lucky_red_envelope">" %s 在 好運紅包 中抽到了 %s"</string>
|
||||
<string name="lucky_red_envelope_amount">数量</string>
|
||||
<string name="red_envelope_released_successfully">红包发布成功</string>
|
||||
|
||||
|
||||
</resources>
|
||||
|
@ -1249,4 +1249,5 @@ Limited ride And limited avatar frame</string>
|
||||
<string name="check_out_your_luck">Check out your luck</string>
|
||||
<string name="lucky_red_envelope">%s drew %s in the lucky red envelope</string>
|
||||
<string name="lucky_red_envelope_amount">number</string>
|
||||
<string name="red_envelope_released_successfully">Red envelope released successfully</string>
|
||||
</resources>
|
||||
|
@ -99,7 +99,10 @@ public class SendRendPacketPopup extends CenterPopupView {
|
||||
if (numberInt >= 200 && numberInt <= 10000) {
|
||||
totalConsumptionOfDrill.setText(String.format(getContext().getString(R.string.total_consumption_of_drill), String.valueOf((totalInt * numberInt))));
|
||||
redEnvelopeRill.setText(String.format(getContext().getString(R.string.red_envelope_rill), s.toString()));
|
||||
rill.setTextColor(Color.WHITE);
|
||||
|
||||
} else {
|
||||
rill.setTextColor(Color.parseColor("#FD2D46"));
|
||||
ToastUtil.show(getContext().getString(R.string.amount) + String.format(getContext().getString(R.string.range_range_is), "200~10000"));
|
||||
}
|
||||
|
||||
@ -134,7 +137,9 @@ public class SendRendPacketPopup extends CenterPopupView {
|
||||
int numberInt = Integer.parseInt(number);
|
||||
if (numberInt >= 1 && numberInt <= 100) {
|
||||
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"));
|
||||
ToastUtil.show(getContext().getString(R.string.lucky_red_envelope_amount) + String.format(getContext().getString(R.string.range_range_is), "1~100"));
|
||||
}
|
||||
|
||||
@ -195,6 +200,7 @@ public class SendRendPacketPopup extends CenterPopupView {
|
||||
conditions, new HttpCallback<String>() {
|
||||
@Override
|
||||
public void onSuccess(String data) {
|
||||
ToastUtil.show(R.string.red_envelope_released_successfully);
|
||||
dismiss();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user