We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1f4a843 + 8b34ab0 commit 63d3870Copy full SHA for 63d3870
1 file changed
lib/js/src/manager/SystemCapabilityManager.js
@@ -225,7 +225,9 @@ class SystemCapabilityManager extends _SubManagerBase {
225
226
// Based on deprecated Display capabilities we don't know if widgets are supported,
227
// The Default MAIN window is the only window we know is supported
228
- const windowTypeCapabilities = new WindowTypeCapabilities(WindowType.MAIN, 1);
+ const windowTypeCapabilities = new WindowTypeCapabilities()
229
+ .setType(WindowType.MAIN)
230
+ .setMaximumNumberOfWindows(1);
231
const displayCapability = new DisplayCapability();
232
233
if (displayCapabilities !== null && displayCapabilities !== undefined) {
0 commit comments