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 ...@@ -66,8 +66,9 @@ static NSMutableDictionary<NSString *, VLCNetworkServerLoginInformation *> *VLCN
VLCNetworkServerLoginInformation *loginInformation = [VLCNetworkServerLoginInformationRegistry[protocolIdentifier] copy]; VLCNetworkServerLoginInformation *loginInformation = [VLCNetworkServerLoginInformationRegistry[protocolIdentifier] copy];
if (!loginInformation) { if (!loginInformation) {
loginInformation = [[VLCNetworkServerLoginInformation alloc] init]; loginInformation = [[VLCNetworkServerLoginInformation alloc] init];
loginInformation.protocolIdentifier = protocolIdentifier;
} }
return loginInformation; return loginInformation;
} }
@end @end
\ No newline at end of file
...@@ -115,7 +115,7 @@ static NSString *const VLCNetworkLoginSavedLoginCellIdentifier = @"VLCNetworkLog ...@@ -115,7 +115,7 @@ static NSString *const VLCNetworkLoginSavedLoginCellIdentifier = @"VLCNetworkLog
[ukvStore synchronize]; [ukvStore synchronize];
// TODO: Vincent: add row directly instead of section reload // 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; 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