Respond to CR.

This commit is contained in:
Matthew Chen 2018-05-30 12:35:55 -04:00
parent dc4ad2b6df
commit c71081c875
1 changed files with 3 additions and 0 deletions

View File

@ -185,6 +185,9 @@ const UIWindowLevel UIWindowLevel_ScreenBlocking(void)
viewController.view.backgroundColor = [UIColor ows_materialBlueColor];
// NOTE: Do not use OWSNavigationController for call window.
// It adjusts the size of the navigation bar to reflect the
// call window. We don't want those adjustments made within
// the call window itself.
UINavigationController *navigationController =
[[UINavigationController alloc] initWithRootViewController:viewController];
navigationController.navigationBarHidden = YES;