Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CherryPick] Fix retrieving current appearance in multi-window apps #2125

Merged
merged 1 commit into from
May 22, 2024

Conversation

Saadnajmi
Copy link
Collaborator

Summary:

Cherry pick facebook@d00d35e to fix a bug we're seeing internally

Test Plan:

CI should pass

Summary:
This PR resolves issues with retrieving appearance in multi-window apps by calling `RCTKeyWindow()` instead of retrieving the AppDelegate window property. It also does small optimization in the RCTAlertController.

[IOS] [FIXED] - Fix retrieving current appearance in multi-window apps

Pull Request resolved: facebook#42231

Test Plan: CI Green, it should work the same as before

Reviewed By: NickGerleman

Differential Revision: D52802756

Pulled By: cipolleschi

fbshipit-source-id: 60b5f7045f41be19caae5102f0dc321d4ecdcd2f
@Saadnajmi Saadnajmi requested a review from a team as a code owner May 22, 2024 20:48
@Saadnajmi Saadnajmi changed the title cherrypick: Fix retrieving current appearance in multi-window apps [CherryPick] Fix retrieving current appearance in multi-window apps May 22, 2024
@Saadnajmi Saadnajmi enabled auto-merge May 22, 2024 21:28
@Saadnajmi Saadnajmi merged commit 2954e4f into microsoft:main May 22, 2024
15 checks passed
@Saadnajmi Saadnajmi deleted the appearance branch May 22, 2024 21:34
Saadnajmi added a commit that referenced this pull request May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants