forked from mirrors/linphone-iphone
Settings: work in progress for multiaccounts
This commit is contained in:
parent
94dba3b493
commit
4cab730c39
3 changed files with 5 additions and 3 deletions
|
|
@ -645,7 +645,7 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
- (void)settingsViewControllerDidEnd:(IASKAppSettingsViewController *)sender {
|
||||
}
|
||||
|
||||
- (void)settingsViewControllerDidAppear:(IASKAppSettingsViewController *)sender {
|
||||
- (void)settingsViewControllerWillAppear:(IASKAppSettingsViewController *)sender {
|
||||
// going to account: fill info
|
||||
if ([sender.file isEqualToString:@"Account"]) {
|
||||
LOGI(@"Going editting account %@", sender.title);
|
||||
|
|
@ -846,6 +846,8 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
}
|
||||
|
||||
- (IBAction)onDialerBackClick:(id)sender {
|
||||
[settingsStore synchronize];
|
||||
|
||||
DialerView *view = VIEW(DialerView);
|
||||
[PhoneMainView.instance changeCurrentView:view.compositeViewDescription];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
@protocol IASKSettingsDelegate
|
||||
- (void)settingsViewControllerDidEnd:(IASKAppSettingsViewController*)sender;
|
||||
- (void)settingsViewControllerDidAppear:(IASKAppSettingsViewController *)sender;
|
||||
- (void)settingsViewControllerWillAppear:(IASKAppSettingsViewController *)sender;
|
||||
|
||||
@optional
|
||||
#pragma mark - UITableView header customization
|
||||
|
|
|
|||
|
|
@ -206,7 +206,7 @@ CGRect IASKCGRectSwap(CGRect rect);
|
|||
|
||||
// hack gautier: be notified when changing page
|
||||
if (self.delegate && [self.delegate conformsToProtocol:@protocol(IASKSettingsDelegate)]) {
|
||||
[self.delegate settingsViewControllerDidAppear:self];
|
||||
[self.delegate settingsViewControllerWillAppear:self];
|
||||
}
|
||||
|
||||
[super viewWillAppear:animated];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue