Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(iOS): remove deprecated method from RCTPerfMonitor & fix position (…
…facebook#43058) Summary: This PR removes usage of deprecated `statusBarFrame` method in `RCTPerfMonitor` . Instead `RCTPerfMonitor` now uses `safeAreaInsets` which also fixes issue causing Perf Monitor to appear under corner in landscape mode on e.g. `iPhone 15 Pro`. It also fixes initial position of expanded state which was causing it to render under notch. Also removed duplicate background color setting ## Changelog: [IOS] [REMOVED] - Remove usage of deprecated statusBarFrame method [IOS] [FIXED] - Fix position of RCTPerfMonitor in landscape mode & expanded mode Pull Request resolved: facebook#43058 Test Plan: `RNTester` builds and runs successfully, `RCTPerfMonitor` works and displays correctly Reviewed By: dmytrorykun Differential Revision: D59116913 Pulled By: cipolleschi fbshipit-source-id: 0ff61f61b206c530cfb9e471bc2dc33a0a43c833
- Loading branch information