increment the counter on the bandwidth config page by 5 instead of 10 so that it can actually match the recommendations on the /welcome

This commit is contained in:
hankhill19580
2020-11-11 00:32:35 +00:00
parent 1d0a2c4fac
commit 4a00691385

View File

@ -348,9 +348,9 @@ public class ConfigNetHelper extends HelperBase {
StringBuilder buf = new StringBuilder(256); StringBuilder buf = new StringBuilder(256);
buf.append("<select style=\"text-align: right !important;\" name=\"sharePercentage\">\n"); buf.append("<select style=\"text-align: right !important;\" name=\"sharePercentage\">\n");
boolean found = false; boolean found = false;
for (int i = 100; i >= -10; i -= 10) { for (int i = 100; i >= -5; i -= 5) {
int val = i; int val = i;
if (i == -10) { if (i == -5) {
if (found) if (found)
break; break;
else else