Index: webrtc/examples/objc/AppRTCMobile/ios/ARDMainViewController.m |
diff --git a/webrtc/examples/objc/AppRTCMobile/ios/ARDMainViewController.m b/webrtc/examples/objc/AppRTCMobile/ios/ARDMainViewController.m |
index 3edb55cd982888bf1518a641ba91f7d431f66a02..593c6a27f81893df92fc1338eb193d6b2ab67630 100644 |
--- a/webrtc/examples/objc/AppRTCMobile/ios/ARDMainViewController.m |
+++ b/webrtc/examples/objc/AppRTCMobile/ios/ARDMainViewController.m |
@@ -19,7 +19,7 @@ |
#import "ARDAppClient.h" |
#import "ARDMainView.h" |
-#import "ARDMediaConstraintsModel.h" |
+#import "ARDSettingsModel.h" |
#import "ARDSettingsViewController.h" |
#import "ARDVideoCallViewController.h" |
@@ -173,7 +173,8 @@ static NSString *const barButtonImageString = @"ic_settings_black_24dp.png"; |
- (void)showSettings:(id)sender { |
ARDSettingsViewController *settingsController = |
[[ARDSettingsViewController alloc] initWithStyle:UITableViewStyleGrouped |
- mediaConstraintsModel:[[ARDMediaConstraintsModel alloc] init]]; |
+ settingsModel:[[ARDSettingsModel alloc] init]]; |
+ |
UINavigationController *navigationController = |
[[UINavigationController alloc] initWithRootViewController:settingsController]; |
[self presentViewControllerAsModal:navigationController]; |