forked from mirrors/linphone-iphone
SettingsViewController: hide media encryption preference when SSL not available
This commit is contained in:
parent
5ca07e1a35
commit
2c89cb8173
1 changed files with 4 additions and 0 deletions
|
|
@ -595,6 +595,10 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
LinphoneManager* lm = [LinphoneManager instance];
|
||||
NSMutableSet *hiddenKeys = [NSMutableSet set];
|
||||
|
||||
#ifndef HAVE_SSL
|
||||
[hiddenKeys addObject:@"media_encryption_preference"];
|
||||
#endif
|
||||
|
||||
#ifndef DEBUG
|
||||
[hiddenKeys addObject:@"release_button"];
|
||||
[hiddenKeys addObject:@"clear_cache_button"];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue