修复
This commit is contained in:
parent
75e342975c
commit
64f40d52da
@ -19,8 +19,8 @@ org.gradle.configureondemand=true
|
|||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
android.enableJetifier=true
|
android.enableJetifier=true
|
||||||
|
|
||||||
#systemProp.http.proxyHost=127.0.0.1
|
systemProp.http.proxyHost=127.0.0.1
|
||||||
#systemProp.https.proxyHost=127.0.0.1
|
systemProp.https.proxyHost=127.0.0.1
|
||||||
#systemProp.https.proxyPort=10809
|
systemProp.https.proxyPort=10809
|
||||||
#systemProp.http.proxyPort=10809
|
systemProp.http.proxyPort=10809
|
||||||
#android.enableR8.fullMode=true
|
#android.enableR8.fullMode=true
|
@ -102,7 +102,7 @@ public class SendRendPacketPopup extends CenterPopupView {
|
|||||||
rill.setTextColor(Color.WHITE);
|
rill.setTextColor(Color.WHITE);
|
||||||
|
|
||||||
} else {
|
} 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"));
|
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"));
|
totalConsumptionOfDrill.setText(String.format(getContext().getString(R.string.total_consumption_of_drill), "0"));
|
||||||
} else {
|
} else {
|
||||||
int numberInt = Integer.parseInt(number);
|
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))));
|
totalConsumptionOfDrill.setText(String.format(getContext().getString(R.string.total_consumption_of_drill), String.valueOf((rillInt * numberInt))));
|
||||||
total.setTextColor(Color.WHITE);
|
total.setTextColor(Color.WHITE);
|
||||||
} else {
|
} 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"));
|
ToastUtil.show(getContext().getString(R.string.lucky_red_envelope_amount) + String.format(getContext().getString(R.string.range_range_is), "1~100"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user