diff --git a/Signal/src/AppDelegate.m b/Signal/src/AppDelegate.m index 2e94ca9ee..66dd750b2 100644 --- a/Signal/src/AppDelegate.m +++ b/Signal/src/AppDelegate.m @@ -555,11 +555,12 @@ static NSString *const kURLHostVerifyPrefix = @"verify"; handler:^(UIAlertAction *_Nonnull action){ }]]; - [[Environment getCurrent].homeViewController.presentedViewController presentViewController:controller - animated:YES - completion:^{ - completionHandler(NO); - }]; + UIViewController *fromViewController = [[UIApplication sharedApplication] frontmostViewController]; + [fromViewController presentViewController:controller + animated:YES + completion:^{ + completionHandler(NO); + }]; } }