mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-30 10:28:28 +00:00
web/device: enable local processing everywhere but android chrome
This commit is contained in:
parent
aa49892e39
commit
d25a730768
@ -83,10 +83,8 @@ if (browser) {
|
|||||||
// so they're enabled only on ios 18+ for now
|
// so they're enabled only on ios 18+ for now
|
||||||
haptics: modernIOS,
|
haptics: modernIOS,
|
||||||
|
|
||||||
// enable local processing by default on
|
// enable local processing by default everywhere but android chrome
|
||||||
// desktop, ios, and firefox on android
|
defaultLocalProcessing: !(device.is.android && device.browser.chrome),
|
||||||
defaultLocalProcessing: !device.is.mobile || iOS ||
|
|
||||||
(device.is.android && !device.browser.chrome),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
device.userAgent = navigator.userAgent;
|
device.userAgent = navigator.userAgent;
|
||||||
|
Loading…
Reference in New Issue
Block a user