From f4439f8af8f140580e10163c3ed7f5fbc5729e2f Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Wed, 18 Apr 2018 13:33:29 -0400 Subject: [PATCH] Present calls using window manager. --- Signal/src/util/OWSWindowManager.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Signal/src/util/OWSWindowManager.m b/Signal/src/util/OWSWindowManager.m index f117efe99..9545c6177 100644 --- a/Signal/src/util/OWSWindowManager.m +++ b/Signal/src/util/OWSWindowManager.m @@ -205,7 +205,8 @@ const int kReturnToCallWindowHeight = 20.f; OWSAssert(!self.callViewController); self.callViewController = callViewController; - // Attach callViewController from window. + // Attach callViewController to window. + [self.callNavigationController popToRootViewControllerAnimated:NO]; [self.callNavigationController pushViewController:callViewController animated:NO]; self.isCallViewActive = YES;