Skip to content

Commit 0c0197c

Browse files
authored
fix: optional isViewApiEnabled call (#180)
fix: option isViewApiEnabled call
1 parent 707f035 commit 0c0197c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/module-names.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ if (features?.isDesktopCapturerEnabled?.() !== false) {
5050
browserModuleNames.push('desktopCapturer');
5151
}
5252

53-
if (!features || features.isViewApiEnabled()) {
53+
if (features?.isViewApiEnabled?.() !== false) {
5454
browserModuleNames.push('ImageView');
5555
}

0 commit comments

Comments
 (0)