Skip to content

Commit 2a25772

Browse files
author
Carlos Cabanero
committed
Added corners to new iPad models.
- It was commented and didn't notice on release. - Noted different sizes for 11inch iPad Pro depending on iOS version.
1 parent 149aa77 commit 2a25772

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Blink/DeviceInfo.m

+4-2
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,10 @@ - (instancetype)init {
7272

7373
_hasCorners = _hasNotch || [_machine hasPrefix:@"iPad8"]
7474
|| [_machine hasPrefix:@"iPad13"]
75-
// || [_machine hasPrefix:@"iPad14"]
76-
// || [_machine hasPrefix:@"iPad16"]
75+
|| [_machine hasPrefix:@"iPad14"]
76+
|| [_machine hasPrefix:@"iPad16"]
77+
|| [marketingName containsString:@"(M2)"]
78+
|| [marketingName containsString:@"(M4)"]
7779
|| [marketingName hasPrefix:@"Mac"];
7880

7981
_hasAppleSilicon = [marketingName hasPrefix:@"iPad Pro (11-inch) (3rd generation)"]

Blink/SmarterKeys/KBDevice.swift

+3-1
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,10 @@ enum KBDevice {
118118
// | 19 | iPad Pro 12" 6th-gen | 1366 | 1024 | 1590 | tab |
119119
// | 20 | iPad Air 11" M2 | 1180 | | 1373 | tab |
120120
// | 21 | iPad Air 13" M2 | 1366 | 1024 | 1590 | tab |
121-
// | 22 | iPad Pro 11" M4 | 1210 | | 1408 | tab |
121+
// | 22 | iPad Pro 11" M4 17.4 | 1194 | | 1408 | tab |
122+
// | 22 | iPad Pro 11" M4 17.5 | 1210 | | 1408 | tab |
122123
// | 23 | iPad Pro 13" M4 | 1376 | 1032 | 1600 | tab |
124+
// | 23'| iPad Pro 13" M4 17.4 | 1366 | 1024 | 1590 | tab |
123125
// +----+----------------------+------+------+------+-----+
124126

125127
switch wideSideSize {

0 commit comments

Comments
 (0)