Skip to content

Commit a542688

Browse files
thymikeeclaude
andcommitted
chore: adapt to main after rebase
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
1 parent d9af82f commit a542688

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎packages/platform-apple/src/core/__tests__/screenshot-status-bar-concurrency.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function captureDeps(captureWithRetry: (device: DeviceInfo) => Promise<void>) {
8181
return {
8282
resolveCaptureTarget: async () => ({}) as const,
8383
captureWithRetry,
84-
normalizeDensity: async () => {},
84+
normalizeDensity: async () => undefined,
8585
captureWithRunner: async () => undefined,
8686
shouldFallbackToRunner: () => false,
8787
};

‎packages/provider-revyl/src/interactor.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,8 @@ class RevylInteractor implements Interactor {
306306
png,
307307
this.signal === undefined ? {} : { signal: this.signal },
308308
);
309-
if (this.session.platform === 'ios') {
309+
// A native capture keeps the pixels Revyl returned, so only a numeric density resamples.
310+
if (this.session.platform === 'ios' && options?.pixelDensity !== 'native') {
310311
await normalizeRevylIosDensity(temporaryPath, this.session.screen, options?.pixelDensity);
311312
}
312313
// The capture is over once the PNG is in hand, but a caller that hung up during the write is not

0 commit comments

Comments
 (0)