Skip to content

Commit 29fc154

Browse files
author
José Pereda
authored
Add iPhone 15 to list of devices with notch (#384)
1 parent f63e718 commit 29fc154

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/display/src/main/native/ios/Display.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, 2022 Gluon
2+
* Copyright (c) 2016, 2023, Gluon
33
*
44
* This program is free software: you can redistribute it and/or modify
55
* it under the terms of the GNU General Public License as published by
@@ -189,6 +189,7 @@ - (void) isIPhoneX
189189
@"iPhone13,1", @"iPhone13,2", @"iPhone13,3", @"iPhone13,4", // iPhone 12 Mini, 12, 12 Pro, 12 Pro Max
190190
@"iPhone14,2", @"iPhone14,3", @"iPhone14,4", @"iPhone14,5", // iPhone 13 Pro, 13 Pro Max, 13 Mini, 13
191191
@"iPhone14,7", @"iPhone14,8", @"iPhone15,2", @"iPhone15,3", // iPhone 14, 14 Plus, 14 Pro, 14 Pro Max
192+
@"iPhone15,4", @"iPhone15,5", @"iPhone16,1", @"iPhone16,2", // iPhone 15, 15 Plus, 15 Pro, 15 Pro Max
192193
];
193194

194195
if ([modelsWithNotch containsObject:GetDeviceModel()]) {

0 commit comments

Comments
 (0)