-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make notch detection more future proof
Summary: ## Changelog: [Internal] - make notch detection more future proof current implementation of `isIPhoneX_deprecated` is not completely correct and is already 2 iphones behind. i update the implementation so we don't have to change it with every new iphone that comes out. Differential Revision: D48254737 fbshipit-source-id: a7c98961f17f3db8c3deb4d358c77f2f0c23200e
- Loading branch information
1 parent
30e2345
commit 2253cb3
Showing
1 changed file
with
5 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters