TransferType still don't work, wrong values in switchs
Config:
Code: switch (ClientSettings.TransferType) { case "Leave Strongest": await TransferAllButStrongestUnwantedPokemon(client); break;
ClientSettings.TransferType need to be setted as "Leave Strongest" instead "leaveStrongest" and there is problem from setting this from GUI.
thanks for the report, will fix in the next build
how about multi evo/transfer like previous version? @1461748123
@onomatopejaeselu I didn't see a problem in the code. Can you give more specific information to help me locate the bug?
Config suggest to use fallowing transfer types
(App.config):
none/cp/iv/leaveStrongest/duplicate/all Whitelists/blackslists
This setting is mapped to string in (Settings.cs) public string TransferType => GetSetting() != string.Empty ? GetSetting() : "none";
Then it is compared to values in switch-case in MainForm.cs at 324 and 489. Comparsions of strings is case sensitive and whitespaces sensitive so eg. "leaveStrongest" setting does not match case in code: "case "Leave Strongest":"
Also values setted by SettingsForm using whitespaces and capital letters does not match this two cases (in MainForm.cs at 324 and 489).