Commit b3cb54ea authored by Pierre SAGASPE's avatar Pierre SAGASPE

networkLogin : fix protocol identifier missing for saving or loading informations

parent aeeeddda
......@@ -66,8 +66,9 @@ static NSMutableDictionary<NSString *, VLCNetworkServerLoginInformation *> *VLCN
VLCNetworkServerLoginInformation *loginInformation = [VLCNetworkServerLoginInformationRegistry[protocolIdentifier] copy];
if (!loginInformation) {
loginInformation = [[VLCNetworkServerLoginInformation alloc] init];
loginInformation.protocolIdentifier = protocolIdentifier;
return loginInformation;
\ No newline at end of file
......@@ -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
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment