Skip to content

Commit 4e38e8b

Browse files
author
kai
committed
fix an issue where the SsoExt anchor window is based on its VC, which is not accurate
1 parent 689c324 commit 4e38e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IdentityCore/src/requests/broker/MSIDSSOExtensionInteractiveTokenRequest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ - (ASPresentationAnchor)presentationAnchor
126126
}
127127

128128
__typeof__(self.requestParameters.parentViewController) parentViewController = self.requestParameters.parentViewController;
129-
return parentViewController ? parentViewController.view.window : self.requestParameters.presentationAnchorWindow;
129+
return parentViewController.view.window ? : self.requestParameters.presentationAnchorWindow;
130130
}
131131

132132
#pragma mark - Dealloc

0 commit comments

Comments
 (0)