Skip to content

Commit a0beb83

Browse files
bug fix (#731)
bug fix
1 parent cb82ba3 commit a0beb83

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Branch-SDK/Branch-SDK/Branch.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1892,7 +1892,6 @@ - (void)handleInitSuccess {
18921892
BNCLogWarning(@"The automatic deeplink view controller '%@' for key '%@' does not implement 'configureControlWithData:'.",
18931893
branchSharingController, key);
18941894
}
1895-
branchSharingController.deepLinkingCompletionDelegate = self;
18961895
self.deepLinkPresentingController = [[[UIApplicationClass sharedApplication].delegate window] rootViewController];
18971896

18981897
if([self.deepLinkControllers[key] isKindOfClass:[BNCDeepLinkViewControllerInstance class]]) {
@@ -1906,7 +1905,6 @@ - (void)handleInitSuccess {
19061905
BNCLogWarning(@"View controller does not implement configureControlWithData:");
19071906
}
19081907
branchSharingController.deepLinkingCompletionDelegate = self;
1909-
self.deepLinkPresentingController = [[[UIApplicationClass sharedApplication].delegate window] rootViewController];
19101908
switch (deepLinkInstance.option) {
19111909
case BNCViewControllerOptionPresent:
19121910
[self presentSharingViewController:branchSharingController];
@@ -1964,8 +1962,6 @@ - (void)handleInitSuccess {
19641962
BNCLogWarning(@"View controller does not implement configureControlWithData:");
19651963
}
19661964
branchSharingController.deepLinkingCompletionDelegate = self;
1967-
self.deepLinkPresentingController = [[[UIApplicationClass sharedApplication].delegate window] rootViewController];
1968-
19691965
if ([self.deepLinkPresentingController presentedViewController]) {
19701966
[self.deepLinkPresentingController dismissViewControllerAnimated:NO completion:^{
19711967
[self.deepLinkPresentingController presentViewController:branchSharingController animated:YES completion:NULL];

0 commit comments

Comments
 (0)