SettingsViewController: hide media encryption preference when SSL not available

This commit is contained in:
Gautier Pelloux-Prayer 2015-05-28 15:51:43 +02:00
parent 5ca07e1a35
commit 2c89cb8173

View file

@ -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"];