Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed iPhone15Pro hardware typo #126

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion Sources/DeviceGuruImplementation+Extension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public extension DeviceGuruImplementation {
if (hardwareString == "iPhone15,3") { return .iphone_14_pro_max }
if (hardwareString == "iPhone15,4") { return .iphone_15 }
if (hardwareString == "iPhone15,5") { return .iphone_15_plus }
if (hardwareString == "iPhone16,1") { return .iphone_14_pro }
if (hardwareString == "iPhone16,1") { return .iphone_15_pro }
if (hardwareString == "iPhone16,2") { return .iphone_15_pro_max }
if (hardwareString == "iPhone2,1") { return .iphone_3gs }
if (hardwareString == "iPhone3,1") { return .iphone_4 }
Expand Down
1 change: 1 addition & 0 deletions Sources/Hardware.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public enum Hardware {
case iphone_14_pro_max
case iphone_15
case iphone_15_plus
case iphone_15_pro
case iphone_15_pro_max

case ipod_touch_1g
Expand Down