mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 10:39:57 +00:00
Rename shim -> cast
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user