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

Update device.js #15

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ const isiPhoneModelWithNotch = (): boolean => {
case "iPhone12,1": // Iphone 11
case "iPhone12,3": // Iphone 11 Pro
case "iPhone12,5": // Iphone 11 Pro Max
case "iPhone13,1": // iPhone 12 mini
case "iPhone13,2": // iPhone 12
case "iPhone13,3": // iPhone 12 Pro
case "iPhone13,4": // iPhone 12 Pro Max
case "iPhone14,4": // iPhone 13 mini
case "iPhone14,5": // iPhone 13
case "iPhone14,2": // iPhone 13 Pro
case "iPhone14,3": // iPhone 13 Pro Max
case "iPhone14,7": // iPhone 14
case "iPhone14,8": // iPhone 14 Plus
diego-antonelli marked this conversation as resolved.
Show resolved Hide resolved
case "iPhone15,2": // iPhone 14 Pro
case "iPhone15,3": // iPhone 14 Pro Max
return true;
default:
return false;
Expand Down