Request confirmation for contact sync on self rather than a non-existent presentedViewController.

This commit is contained in:
Doug 2021-07-29 09:31:07 +01:00
parent 3bada7d51c
commit a737470bf4

View file

@ -246,7 +246,7 @@
{
[MXKAppSettings standardAppSettings].syncLocalContactsPermissionRequested = YES;
[MXKContactManager requestUserConfirmationForLocalContactsSyncInViewController:self.presentedViewController completionHandler:^(BOOL granted) {
[MXKContactManager requestUserConfirmationForLocalContactsSyncInViewController:self completionHandler:^(BOOL granted) {
if (granted)
{