Skip to content

Commit

Permalink
fix: optional isViewApiEnabled call (#180)
Browse files Browse the repository at this point in the history
fix: option isViewApiEnabled call
  • Loading branch information
erickzhao authored Jan 24, 2024
1 parent 707f035 commit 0c0197c
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 0c0197c

Please sign in to comment.