Rename shim -> cast

This commit is contained in:
hensm
2022-03-15 07:00:45 +00:00
parent d7592d5806
commit 9af43c2910
51 changed files with 182 additions and 177 deletions

View File

@@ -2,7 +2,7 @@
import logger from "../../lib/logger";
import options from "../../lib/options";
import cast, { ensureInit } from "../../shim/export";
import cast, { ensureInit } from "../../cast/export";
import { Message } from "../../messaging";
import { ReceiverDevice } from "../../types";
@@ -363,7 +363,7 @@ export async function init(opts: InitOptions) {
if (targetElement instanceof HTMLMediaElement) {
registerMediaElementListeners(targetElement);
if (options.get("mediaOverlayEnabled")) {
if (await options.get("mediaOverlayEnabled")) {
// TODO: Un-hide overlay here
}
}