From 7aa25534b70c7ca13e1473e09b59e774887abc49 Mon Sep 17 00:00:00 2001 From: fabinppkbuilders <84453168+fabinppkbuilders@users.noreply.github.com> Date: Wed, 4 Sep 2024 14:36:04 -0300 Subject: [PATCH] fix: add iPhone 15/15Plus to iphonesStatusbarHeight (#410) Co-authored-by: Fabiano --- package.json | 2 +- src/native/iphoneHelper.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7293169..41f73e2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@platformbuilders/helpers", - "version": "0.11.1", + "version": "0.11.2", "description": "Builders helpers library", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/native/iphoneHelper.ts b/src/native/iphoneHelper.ts index b1fd515..b3d5242 100644 --- a/src/native/iphoneHelper.ts +++ b/src/native/iphoneHelper.ts @@ -53,6 +53,8 @@ const iphonesStatusbarHeight = { 'iPhone14,8': 47, // iPhone 14 Plus 'iPhone15,2': 54, // iPhone 14 Pro 'iPhone15,3': 54, // iPhone 14 Pro Max + 'iPhone15,4': 54, // iPhone 15 + 'iPhone15,5': 54, // iPhone 15 Plus 'iPhone16,1': 54, // iPhone 15 Pro 'iPhone16,2': 54, // iPhone 15 Pro Max };