forked from mirrors/linphone-iphone
Change UIAlertController condiiton to display Debug popup in DialerView
This commit is contained in:
parent
4153f04e62
commit
30a916b514
1 changed files with 1 additions and 1 deletions
|
|
@ -285,7 +285,7 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
- (BOOL)displayDebugPopup:(NSString *)address {
|
||||
LinphoneManager *mgr = LinphoneManager.instance;
|
||||
NSString *debugAddress = [mgr lpConfigStringForKey:@"debug_popup_magic" withDefault:@""];
|
||||
if (TRUE) {
|
||||
if ((![debugAddress isEqualToString:@""] && [address isEqualToString:debugAddress]) || [_addressField.text isEqual: @"#1234#"]) {
|
||||
UIAlertController *errView = [UIAlertController alertControllerWithTitle:NSLocalizedString(@"Debug", nil)
|
||||
message:NSLocalizedString(@"Choose an action", nil)
|
||||
preferredStyle:UIAlertControllerStyleAlert];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue