Skip to content

Commit 5040a78

Browse files
fix(device_info_plus): correct Mac model name mappings (#3690)
1 parent 19138be commit 5040a78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/device_info_plus/device_info_plus/macos/device_info_plus/Sources/device_info_plus/DeviceIdentifiers.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ func getMacModelName(modelNumber: String) -> String {
5151
case "Mac14,6", "Mac14,10": return "MacBook Pro (14-inch, 2023)"
5252
case "Mac14,7": return "MacBook Pro (13-inch, 2022)"
5353
case "Mac15,3": return "MacBook Pro (14-inch, 2023)"
54-
case "Mac15,6", "Mac15,8", "Mac15.10": return "MacBook Pro (14-inch, 2023)"
55-
case "Mac15,7", "Mac15,9", "Mac15.11": return "MacBook Pro (16-inch, 2023)"
54+
case "Mac15,6", "Mac15,8", "Mac15,10": return "MacBook Pro (14-inch, 2023)"
55+
case "Mac15,7", "Mac15,9", "Mac15,11": return "MacBook Pro (16-inch, 2023)"
5656

5757
// iMac models (2013 and later)
5858
case "iMac13,1": return "iMac (21.5-inch, 2013)"

0 commit comments

Comments
 (0)