From 8352072654177d6a00feb4799a17f5df8682092f Mon Sep 17 00:00:00 2001 From: nexpid Date: Fri, 20 Oct 2023 17:43:17 +0200 Subject: [PATCH] =?UTF-8?q?[Lib=20>=20Preinit]=20Fix=20Chat=20Box=20Bug?= =?UTF-8?q?=E2=84=A2=20on=20iOS=20(#170)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/preinit.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/preinit.ts b/src/lib/preinit.ts index 12b0970..7f1af9c 100644 --- a/src/lib/preinit.ts +++ b/src/lib/preinit.ts @@ -1,5 +1,5 @@ import { initThemes } from "@lib/themes"; -import { instead } from "spitroast"; +import { instead } from "@lib/patcher"; // Hoist required modules // This used to be in filters.ts, but things became convoluted @@ -21,7 +21,7 @@ if (requireNativeComponent) { try { return orig(...args); } catch { - return () => null; + return args[0]; } }) }