web/device: enable local processing on ios 18+ by default

hopefully ios users will figure out what buttons they have to press, but if not, i'll add an explanatory dialog
This commit is contained in:
wukko 2025-06-03 10:49:38 +06:00
parent 3ee7c4d36a
commit ee2be1fb9e
No known key found for this signature in database
GPG Key ID: 3E30B3F26C7B4AA2

View File

@ -83,10 +83,9 @@ if (browser) {
// so they're enabled only on ios 18+ for now
haptics: modernIOS,
// enable local processing by default
// on desktop & in firefox on android
// (first stage of rollout)
defaultLocalProcessing: !device.is.mobile ||
// enable local processing by default on
// desktop, ios 18+, and firefox on android
defaultLocalProcessing: !device.is.mobile || modernIOS ||
(device.is.android && !device.browser.chrome),
};