Skip to content
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
9 changes: 8 additions & 1 deletion src/utils/devices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ export const isIphoneX =
height === 896 ||
width === 896 ||
height === 926 ||
width === 926);
width === 926 ||
// iPhone 14 Pro Viewport Height
height === 852 ||
width === 852 ||
//iPhone 14 Pro Max Viewport Height
height === 932 ||
width === 932
);

export const isAndroid = Platform.OS === 'android';
export const isWeb = Platform.OS === 'web';