@@ -440,9 +440,9 @@
|
|
440
440
|
/** Is MacOS or Windows (and not hololens) */
|
441
441
|
export function isDesktop() {
|
442
442
|
const ua = window.navigator.userAgent;
|
443
|
-
const standalone = /Windows|MacOS/.test(ua);
|
443
|
+
const standalone = /Windows|MacOS|Mac OS/.test(ua);
|
444
444
|
const isHololens = /Windows NT/.test(ua) && /Edg/.test(ua) && !/Win64/.test(ua);
|
445
|
-
return standalone && !isHololens;
|
445
|
+
return standalone && !isHololens && !isiOS();
|
446
446
|
}
|
447
447
|
|
448
448
|
export function isMobileDevice() {
|