Skip to content

Commit

Permalink
Added corners to new iPad models.
Browse files Browse the repository at this point in the history
- It was commented and didn't notice on release.
- Noted different sizes for 11inch iPad Pro depending on iOS version.
  • Loading branch information
Carlos Cabanero committed Jun 11, 2024
1 parent 149aa77 commit 2a25772
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Blink/DeviceInfo.m
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ - (instancetype)init {

_hasCorners = _hasNotch || [_machine hasPrefix:@"iPad8"]
|| [_machine hasPrefix:@"iPad13"]
// || [_machine hasPrefix:@"iPad14"]
// || [_machine hasPrefix:@"iPad16"]
|| [_machine hasPrefix:@"iPad14"]
|| [_machine hasPrefix:@"iPad16"]
|| [marketingName containsString:@"(M2)"]
|| [marketingName containsString:@"(M4)"]
|| [marketingName hasPrefix:@"Mac"];

_hasAppleSilicon = [marketingName hasPrefix:@"iPad Pro (11-inch) (3rd generation)"]
Expand Down
4 changes: 3 additions & 1 deletion Blink/SmarterKeys/KBDevice.swift
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,10 @@ enum KBDevice {
// | 19 | iPad Pro 12" 6th-gen | 1366 | 1024 | 1590 | tab |
// | 20 | iPad Air 11" M2 | 1180 | | 1373 | tab |
// | 21 | iPad Air 13" M2 | 1366 | 1024 | 1590 | tab |
// | 22 | iPad Pro 11" M4 | 1210 | | 1408 | tab |
// | 22 | iPad Pro 11" M4 17.4 | 1194 | | 1408 | tab |
// | 22 | iPad Pro 11" M4 17.5 | 1210 | | 1408 | tab |
// | 23 | iPad Pro 13" M4 | 1376 | 1032 | 1600 | tab |
// | 23'| iPad Pro 13" M4 17.4 | 1366 | 1024 | 1590 | tab |
// +----+----------------------+------+------+------+-----+

switch wideSideSize {
Expand Down

0 comments on commit 2a25772

Please sign in to comment.