add missing ipod touches

This commit is contained in:
Jordan Koch 2020-10-22 23:33:15 -04:00
parent c8035e29aa
commit a6f93525c4

View File

@ -25,8 +25,13 @@ public class UIDeviceModelNames {
func mapToDevice(identifier: String) -> String { // swiftlint:disable:this cyclomatic_complexity
#if os(iOS)
switch identifier {
case "iPod5,1": return "iPod Touch 5"
case "iPod7,1": return "iPod Touch 6"
case "iPod1,1": return "iPod Touch"
case "iPod2,1": return "iPod Touch (2nd generation)"
case "iPod3,1": return "iPod Touch (3rd generation)"
case "iPod4,1": return "iPod Touch (4th generation)"
case "iPod5,1": return "iPod Touch (5th generation)"
case "iPod7,1": return "iPod Touch (6th generation)"
case "iPod9,1": return "iPod Touch (7th generation)"
case "iPhone1,1": return "iPhone"
case "iPhone1,2": return "iPhone 3G"