Closed MattFoley closed 6 years ago
The check for iPhone X was returning 0 from device version, since it's actually iPhone10,. This updates that function to take the substring before the comma, and then remove all non-digit characters, rather than just taking the first character.
iPhone10,
@mkuczera That was fast, thanks!
Thanks for the PR ;)
The check for iPhone X was returning 0 from device version, since it's actually
iPhone10,
. This updates that function to take the substring before the comma, and then remove all non-digit characters, rather than just taking the first character.