Fixed a small compile error within the popout controller

canary
WolverinDEV 2020-08-08 01:20:19 +02:00
parent 8223fbe543
commit 3727b11356
2 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ class PopoutController extends EventControllerBase<"popout"> {
private callbackControllerHello: (accepted: boolean | string) => void;
constructor() {
super(new Registry<string>());
super(new Registry());
this.ipcRemoteId = Settings.instance.static(Settings.KEY_IPC_REMOTE_ADDRESS, "invalid");
this.ipcChannel = getIPCInstance().createChannel(this.ipcRemoteId, Settings.instance.static(kSettingIPCChannel, "invalid"));

View File

@ -64,8 +64,8 @@ class VideoViewer {
if(this.currentVideoUrl === url)
return;
this.events.fire("notify_following", { watcherId: undefined });
this.events.fire("notify_video", { url: url });
this.events.fire_async("notify_following", { watcherId: undefined });
this.events.fire_async("notify_video", { url: url });
}
async open() {