mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Change text to display (linphone_config_dump instead of linphoneRC file)
This commit is contained in:
parent
90c26b3f8c
commit
4153f04e62
1 changed files with 3 additions and 1 deletions
|
|
@ -320,7 +320,9 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
style:UIAlertActionStyleDefault
|
||||
handler:^(UIAlertAction * action) {
|
||||
TextViewer *view = VIEW(TextViewer);
|
||||
view.textViewer = [NSString stringWithContentsOfFile:[LinphoneManager bundleFile:@"linphonerc"] encoding:NSUTF8StringEncoding error:nil];
|
||||
LpConfig *conf = LinphoneManager.instance.configDb;
|
||||
char *config = linphone_config_dump(conf);
|
||||
view.textViewer = [NSString stringWithUTF8String: config];
|
||||
[PhoneMainView.instance popToView:view.compositeViewDescription];
|
||||
}];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue