This commit is contained in:
18401019693 2023-07-07 10:34:25 +08:00
parent 75e342975c
commit 64f40d52da
2 changed files with 7 additions and 7 deletions

View File

@ -19,8 +19,8 @@ org.gradle.configureondemand=true
android.useAndroidX=true
android.enableJetifier=true
#systemProp.http.proxyHost=127.0.0.1
#systemProp.https.proxyHost=127.0.0.1
#systemProp.https.proxyPort=10809
#systemProp.http.proxyPort=10809
systemProp.http.proxyHost=127.0.0.1
systemProp.https.proxyHost=127.0.0.1
systemProp.https.proxyPort=10809
systemProp.http.proxyPort=10809
#android.enableR8.fullMode=true

View File

@ -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"));
}