Skip to content

Commit

Permalink
Lowercase to avoid casing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjl-mux committed Aug 24, 2023
1 parent 342ce24 commit 8da963b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fileprivate func posixModelName() -> String {
}

fileprivate func inferredPlatformName() -> String {
let modelName = posixModelName()
let modelName = posixModelName().lowercased()
if modelName.contains("ipad") {
return "iPadOS"
} else if modelName.contains("iphone") {
Expand Down

0 comments on commit 8da963b

Please sign in to comment.