1
1
mirror of https://github.com/VKCOM/vk-ios-sdk.git synced 2024-09-11 06:45:37 +03:00

Fix crash

This commit is contained in:
Artemy 2019-09-20 12:11:11 +05:00
parent 516bd02d9c
commit 6b99cd334a

View File

@ -223,8 +223,9 @@ NSString *VK_AUTHORIZE_URL_STRING = @"vkauthorize://authorize";
}
}];
decisionHandler(WKNavigationActionPolicyCancel);
} else {
decisionHandler(WKNavigationActionPolicyAllow);
}
decisionHandler(WKNavigationActionPolicyAllow);
}
- (void)webView:(WKWebView *)webView didFailNavigation:(WKNavigation *)navigation withError:(NSError *)error {