From f62fddd053ff1271c5a03fc19cb2bd372228644c Mon Sep 17 00:00:00 2001 From: Frederik <53608074+N0chteil@users.noreply.github.com> Date: Wed, 30 Aug 2023 18:58:19 +0200 Subject: [PATCH] fix: timeChangeListener error --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 5aa2cd5..72971c9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -25,9 +25,10 @@ export class AppleBridge { if (AppleBridge.instance) return AppleBridge.instance; this.checkIfInstalled = checkIfInstalled; - this.init(); AppleBridge.instance = this; + + this.init(); } async init() {