Skip to content

Commit c0ac106

Browse files
committed
respect platform always
1 parent da0a25d commit c0ac106

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

special-pages/pages/new-tab/app/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ export async function init(root, messaging, telemetry, baseEnvironment) {
5959
.withPlatformName(init.platform?.name)
6060
.withPlatformName(baseEnvironment.urlParams.get('platform'))
6161
.withFeatureState('customizerDrawer', init.settings?.customizerDrawer)
62-
.withFeatureState('batchedActivityApi', init.platform.name === 'windows' ? { state: 'enabled' } : { state: 'disabled' })
6362
.withFeatureState(
6463
'batchedActivityApi',
6564
baseEnvironment.urlParams.get('activity.api') === 'batched' ? { state: 'enabled' } : { state: 'disabled' },
66-
);
65+
)
66+
.withFeatureState('batchedActivityApi', init.platform.name === 'windows' ? { state: 'enabled' } : { state: 'disabled' });
6767

6868
if (!window.__playwright_01) {
6969
console.log('environment:', environment);

0 commit comments

Comments
 (0)