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 64cc9b6167
commit e2466a3fca
@@ -246,7 +246,7 @@
{
[MXKAppSettings standardAppSettings].syncLocalContactsPermissionRequested = YES;
[MXKContactManager requestUserConfirmationForLocalContactsSyncInViewController:self.presentedViewController completionHandler:^(BOOL granted) {
[MXKContactManager requestUserConfirmationForLocalContactsSyncInViewController:self completionHandler:^(BOOL granted) {
if (granted)
{