Skip to content

Update index.js#18

Open
ymc-thzi wants to merge 1 commit intoovr:masterfrom
ymc-thzi:patch-1
Open

Update index.js#18
ymc-thzi wants to merge 1 commit intoovr:masterfrom
ymc-thzi:patch-1

Conversation

@ymc-thzi
Copy link
Copy Markdown

Completely revised and simplified.
Fail-safe for future iPhone versions, as no fixed display sizes are used.
Removed functions isIPhoneX() and isIPhoneXMax()

Completely revised and simplified. Fail-safe for future iPhone versions, as no fixed display sizes are used
@ovr
Copy link
Copy Markdown
Owner

ovr commented Nov 12, 2020

Thank you, @ymc-thzi for this PR. I merged another one without simplification, because it's more simple for understanding. But let's keep this PR open. Maybe I will replace implementation in 3.x.

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.

2 participants