From 037531929d307cbeb09520174f7cc547bae28438 Mon Sep 17 00:00:00 2001 From: Erick Zhao Date: Wed, 24 Jan 2024 11:57:25 -0800 Subject: [PATCH] fix: option isViewApiEnabled call --- src/common/module-names.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); }