Commit 5bc44380 authored by Pierre SAGASPE's avatar Pierre SAGASPE Committed by Carola Nitz

networkLogin : fix protocol identifier missing for saving or loading informations

(cherry picked from commit b3cb54ea)
parent 0bf48067
......@@ -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;
}
@end
\ No newline at end of file
@end
......@@ -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