LinphoneCoreSettingsStore: do not synchronize settings in init, it will be done when view is visible

This commit is contained in:
Gautier Pelloux-Prayer 2015-07-15 12:09:48 +02:00
parent e08122e368
commit dd5f86e420
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,6 @@ extern void linphone_iphone_log_handler(int lev, const char *fmt, va_list args);
if (self) {
dict = [[NSMutableDictionary alloc] init];
changedDict = [[NSMutableDictionary alloc] init];
[self transformLinphoneCoreToKeys];
}
return self;
}

View file

@ -444,7 +444,8 @@ static UICompositeViewDescription *compositeDescription = nil;
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
[settingsStore transformLinphoneCoreToKeys]; // Sync settings with linphone core settings
// Sync settings with linphone core settings
[settingsStore transformLinphoneCoreToKeys];
settingsController.hiddenKeys = [self findHiddenKeys];
[settingsController.tableView reloadData];