File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -126,16 +126,13 @@ - (BOOL)handleOpenURL:(NSURL *)URL
126126- (UINavigationController *)authViewController {
127127 static UINavigationController *authViewController;
128128
129- static dispatch_once_t onceToken;
130- dispatch_once (&onceToken, ^{
131- UIViewController *controller;
132- if ([self .delegate respondsToSelector: @selector (authPickerViewControllerForAuthUI: )]) {
133- controller = [self .delegate authPickerViewControllerForAuthUI: self ];
134- } else {
135- controller = [[FUIAuthPickerViewController alloc ] initWithAuthUI: self ];
136- }
137- authViewController = [[UINavigationController alloc ] initWithRootViewController: controller];
138- });
129+ UIViewController *controller;
130+ if ([self .delegate respondsToSelector: @selector (authPickerViewControllerForAuthUI: )]) {
131+ controller = [self .delegate authPickerViewControllerForAuthUI: self ];
132+ } else {
133+ controller = [[FUIAuthPickerViewController alloc ] initWithAuthUI: self ];
134+ }
135+ authViewController = [[UINavigationController alloc ] initWithRootViewController: controller];
139136
140137 return authViewController;
141138}
You can’t perform that action at this time.
0 commit comments