diff --git a/src/common/module-names.ts b/src/common/module-names.ts index 6544f03..e561a07 100644 --- a/src/common/module-names.ts +++ b/src/common/module-names.ts @@ -50,6 +50,6 @@ if (features?.isDesktopCapturerEnabled?.() !== false) { browserModuleNames.push('desktopCapturer'); } -if (!features || features.isViewApiEnabled()) { +if (features?.isViewApiEnabled?.() !== false) { browserModuleNames.push('ImageView'); }