Skip to content

Commit

Permalink
fix: option isViewApiEnabled call
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzhao committed Jan 24, 2024
1 parent 707f035 commit 0375319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/module-names.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ if (features?.isDesktopCapturerEnabled?.() !== false) {
browserModuleNames.push('desktopCapturer');
}

if (!features || features.isViewApiEnabled()) {
if (features?.isViewApiEnabled?.() !== false) {
browserModuleNames.push('ImageView');
}

0 comments on commit 0375319

Please sign in to comment.