web/device: allow default local processing on desktop & android firefox

This commit is contained in:
wukko 2025-05-25 00:24:30 +06:00
parent bb8acc8b98
commit 7d84b74e9e
No known key found for this signature in database
GPG Key ID: 3E30B3F26C7B4AA2

View File

@ -83,7 +83,11 @@ 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,
defaultLocalProcessing: !iOS && !device.browser.webkit, // enable local processing by default
// on desktop & in firefox on android
// (first stage of rollout)
defaultLocalProcessing: !device.is.mobile ||
(device.is.android && !device.browser.chrome),
}; };
device.userAgent = navigator.userAgent; device.userAgent = navigator.userAgent;