web/device: enable local processing everywhere but android chrome

This commit is contained in:
wukko 2025-06-29 13:41:42 +06:00
parent aa49892e39
commit d25a730768
No known key found for this signature in database
GPG Key ID: 3E30B3F26C7B4AA2

View File

@ -83,10 +83,8 @@ if (browser) {
// so they're enabled only on ios 18+ for now
haptics: modernIOS,
// enable local processing by default on
// desktop, ios, and firefox on android
defaultLocalProcessing: !device.is.mobile || iOS ||
(device.is.android && !device.browser.chrome),
// enable local processing by default everywhere but android chrome
defaultLocalProcessing: !(device.is.android && device.browser.chrome),
};
device.userAgent = navigator.userAgent;