Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/src/main/java/xdman/ui/components/SpeedLimiter.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

public class SpeedLimiter {
public static int getSpeedLimit() {
int[] limitInts = { 0, 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000 };
int[] limitInts = { 0, 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1500, 200, 2500, 3000, 3500, 4000 };

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe 200 should be 2000

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ohh yeah.. that's right 😅

String[] limits = { "Unlimited", "50k", "100k", "200k", "300k", "400k", "500k", "600k", "700k", "800k", "900k",
"1000k" };
"1000k", "1500k", "2000k", "2500k", "3000k", "3500k", "4000k" };
JComboBox<String> cmb = new JComboBox<>(limits);
Object[] components = { StringResource.get("MSG_SPEED_LIMIT"), cmb };
int currentSpeedLimit = Config.getInstance().getSpeedLimit();
Expand All @@ -35,4 +35,4 @@ public static int getSpeedLimit() {
}
return -1;
}
}
}