Skip to content

Commit

Permalink
Update Device.swift
Browse files Browse the repository at this point in the history
fix size on iPad7
  • Loading branch information
vulgur committed Apr 15, 2020
1 parent fa2fd42 commit b28764b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Source/iOS/Device.swift
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,10 @@ open class Device {
default:
return .screen9_7Inch
}
case 1080:
return .screen10_2Inch
case 1112:
switch version() {
case .iPad7:
return .screen10_2Inch
default:
return .screen10_5Inch
}
return .screen10_5Inch
case 1194:
return .screen11Inch
case 1366:
Expand Down

0 comments on commit b28764b

Please sign in to comment.