Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
[Lib > Preinit] Fix Chat Box Bug™ on iOS (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
nexpid authored Oct 20, 2023
1 parent 2cc1f8d commit 8352072
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/preinit.ts
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -21,7 +21,7 @@ if (requireNativeComponent) {
try {
return orig(...args);
} catch {
return () => null;
return args[0];
}
})
}
Expand Down

0 comments on commit 8352072

Please sign in to comment.