Skip to content

Commit

Permalink
Fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarcos committed Nov 15, 2024
1 parent d16f727 commit 938d945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function isAppleVisionPro () {
var isMacintosh = navigator.userAgent.includes('Macintosh');
// Discriminates between a "real" desktop browser and Safari for Vision Pro.
var hasFiveTouchPoints = navigator.maxTouchPoints === 5;
// isWebXRAvailable discriminates between Vision Pro and iPad / iPhone.
// isWebXRAvailable discriminates between Vision Pro and iPad / iPhone.
// This will no longer work once WebXR ships in iOS / iPad OS.
return isMacintosh && hasFiveTouchPoints && isWebXRAvailable;
}
Expand Down

0 comments on commit 938d945

Please sign in to comment.