Skip to content

Commit ee2be1f

Browse files
committed
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
1 parent 3ee7c4d commit ee2be1f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

web/src/lib/device.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,9 @@ if (browser) {
8383
// so they're enabled only on ios 18+ for now
8484
haptics: modernIOS,
8585

86-
// enable local processing by default
87-
// on desktop & in firefox on android
88-
// (first stage of rollout)
89-
defaultLocalProcessing: !device.is.mobile ||
86+
// enable local processing by default on
87+
// desktop, ios 18+, and firefox on android
88+
defaultLocalProcessing: !device.is.mobile || modernIOS ||
9089
(device.is.android && !device.browser.chrome),
9190
};
9291

0 commit comments

Comments
 (0)