From 70f2de0e145d2889ff974f596def5f01061cd94d Mon Sep 17 00:00:00 2001 From: chip Date: Fri, 6 Nov 2020 13:36:10 +0100 Subject: [PATCH] added setVisibility back --- phone/src/Phone.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/phone/src/Phone.tsx b/phone/src/Phone.tsx index 0e442ba..b6bc26c 100644 --- a/phone/src/Phone.tsx +++ b/phone/src/Phone.tsx @@ -35,6 +35,17 @@ setTimeout(() => { ); }, 1000); +setTimeout(() => { + window.dispatchEvent( + new MessageEvent("message", { + data: { + app: "PHONE", + method: "setVisibility", + data: true, + }, + }) + ); +}, 1000); setTimeout(() => { window.dispatchEvent(