diff --git a/webviews/src/views/RokuAppOverlaysView/RokuAppOverlaysView.svelte b/webviews/src/views/RokuAppOverlaysView/RokuAppOverlaysView.svelte index adb40560..1a988e27 100644 --- a/webviews/src/views/RokuAppOverlaysView/RokuAppOverlaysView.svelte +++ b/webviews/src/views/RokuAppOverlaysView/RokuAppOverlaysView.svelte @@ -196,10 +196,10 @@ } }); - let deviceAvailable = false; + let odcAvailable = false; intermediary.observeEvent(ViewProviderEvent.onDeviceAvailabilityChange, async (message) => { - deviceAvailable = message.context.deviceAvailable; - if (deviceAvailable) { + odcAvailable = message.context.odcAvailable; + if (odcAvailable) { for (const [index, overlay] of overlays.entries()) { await conditionallyDeployOverlay(overlay, index); } @@ -223,7 +223,7 @@