1
This commit is contained in:
@@ -132,7 +132,7 @@
|
||||
|
||||
- (void)onContinue {
|
||||
LoginViewController *login = [LoginViewController new];
|
||||
__weak typeof(self) weakSelf = self;
|
||||
KBWeakSelf
|
||||
login.onLoginSuccess = ^(NSDictionary * _Nonnull userInfo) {
|
||||
__strong typeof(weakSelf) self = weakSelf; if (!self) return;
|
||||
[self dismissViewControllerAnimated:YES completion:^{
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
}
|
||||
|
||||
- (void)handleAppleIDButtonPress API_AVAILABLE(ios(13.0)) {
|
||||
__weak typeof(self) weakSelf = self;
|
||||
KBWeakSelf
|
||||
[[AppleSignInManager shared] signInFromViewController:self completion:^(ASAuthorizationAppleIDCredential * _Nullable credential, NSError * _Nullable error) {
|
||||
__strong typeof(weakSelf) selfStrong = weakSelf;
|
||||
if (error) {
|
||||
|
||||
Reference in New Issue
Block a user