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