Skip to content

Commit

Permalink
Fix iOS platform not detected
Browse files Browse the repository at this point in the history
  • Loading branch information
adamscott committed Aug 14, 2024
1 parent f6ac088 commit 4762a76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/js/releases/4.3.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ const platformData = detectPlatform(navigator.userAgent, navigator.userAgentData
let platformName = "windows";
switch (platformData.os) {
case "mac":
case "ios": {
case "iphone":
case "ipad": {
platformName = "macos";
} break;

Expand Down

0 comments on commit 4762a76

Please sign in to comment.