Commit b3cb54ea authored by Pierre SAGASPE's avatar Pierre SAGASPE

networkLogin : fix protocol identifier missing for saving or loading informations

parent aeeeddda
......@@ -66,6 +66,7 @@ static NSMutableDictionary<NSString *, VLCNetworkServerLoginInformation *> *VLCN
VLCNetworkServerLoginInformation *loginInformation = [VLCNetworkServerLoginInformationRegistry[protocolIdentifier] copy];
if (!loginInformation) {
loginInformation = [[VLCNetworkServerLoginInformation alloc] init];
loginInformation.protocolIdentifier = protocolIdentifier;
}
return loginInformation;
}
......
......@@ -115,7 +115,7 @@ static NSString *const VLCNetworkLoginSavedLoginCellIdentifier = @"VLCNetworkLog
[ukvStore synchronize];
// TODO: Vincent: add row directly instead of section reload
[self.tableView reloadSections:[NSIndexSet indexSetWithIndex:self.sectionIndex] withRowAnimation:UITableViewRowAnimationAutomatic];;
[self.tableView reloadSections:[NSIndexSet indexSetWithIndex:self.sectionIndex] withRowAnimation:UITableViewRowAnimationAutomatic];
return success;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment