diff --git a/src/main/java/com/nutomic/syncthingandroid/activities/SettingsActivity.java b/src/main/java/com/nutomic/syncthingandroid/activities/SettingsActivity.java index a7b8573b..a58280d6 100644 --- a/src/main/java/com/nutomic/syncthingandroid/activities/SettingsActivity.java +++ b/src/main/java/com/nutomic/syncthingandroid/activities/SettingsActivity.java @@ -233,7 +233,7 @@ public class SettingsActivity extends SyncthingActivity { mOptions.listenAddresses = Iterables.toArray(splitter.split((String) o), String.class); break; case "maxRecvKbps": mOptions.maxRecvKbps = Integer.parseInt((String) o); break; - case "maxSendKbps": mOptions.maxRecvKbps = Integer.parseInt((String) o); break; + case "maxSendKbps": mOptions.maxSendKbps = Integer.parseInt((String) o); break; case "natEnabled": mOptions.natEnabled = (boolean) o; break; case "localAnnounceEnabled": mOptions.localAnnounceEnabled = (boolean) o; break; case "globalAnnounceEnabled": mOptions.globalAnnounceEnabled = (boolean) o; break;