Skip to content

Commit

Permalink
reorder and update link in comment to reference site
Browse files Browse the repository at this point in the history
  • Loading branch information
armcknight committed Dec 13, 2024
1 parent b257bba commit c4f9dbd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/sentry/profiles/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def get_platform(device_os_name: str, is_emulator: bool) -> Platform:
APPLETVGEN2 = "Apple TV (2nd gen)"
APPLETVGEN3 = "Apple TV (3rd gen)"

# https://www.theiphonewiki.com/wiki/Models
# see https://theapplewiki.com/wiki/models
IOS_MODELS: dict[str, str] = {
# iPhone
"iPhone1,1": "iPhone (1st gen)",
Expand Down Expand Up @@ -281,6 +281,10 @@ def get_platform(device_os_name: str, is_emulator: bool) -> Platform:
"iPad13,9": IPADPRO12GEN5,
"iPad13,10": IPADPRO12GEN5,
"iPad13,11": IPADPRO12GEN5,
"iPad14,3": IPADPRO11GEN4,
"iPad14,4": IPADPRO11GEN4,
"iPad14,5": IPADPRO12GEN6,
"iPad14,6": IPADPRO12GEN6,
"iPad16,3": IPADPRO11GEN5,
"iPad16,4": IPADPRO11GEN5,
"iPad16,5": IPADPRO12GEN7,
Expand All @@ -303,10 +307,6 @@ def get_platform(device_os_name: str, is_emulator: bool) -> Platform:
"iPad13,19": IPADGEN10,
"iPad14,1": IPADMINIGEN6,
"iPad14,2": IPADMINIGEN6,
"iPad14,3": IPADPRO11GEN4,
"iPad14,4": IPADPRO11GEN4,
"iPad14,5": IPADPRO12GEN6,
"iPad14,6": IPADPRO12GEN6,
# Apple Watch
"Watch1,1": APPLEWATCHGEN1,
"Watch1,2": APPLEWATCHGEN1,
Expand Down

0 comments on commit c4f9dbd

Please sign in to comment.