1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-23 04:41:16 +00:00

fixed typo with send/recv rate limit (#916)

This commit is contained in:
Matthew Davis 2017-07-06 15:58:59 +10:00 committed by Felix Ableitner
parent ab88ca252b
commit cd41856cf0

View file

@ -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;