summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authorAAGaming <aagaming@riseup.net>2024-10-11 14:58:05 -0400
committerAAGaming <aagaming@riseup.net>2024-10-11 14:58:05 -0400
commit4f05a001fbd25e852ffca819346d07a70e1d0dd3 (patch)
tree6c397176f9152e93f839418f891c242a40161c49 /frontend
parent43aa0497f448d979b3d84c357db082fd57ae6c68 (diff)
downloaddecky-loader-4f05a001fbd25e852ffca819346d07a70e1d0dd3.tar.gz
decky-loader-4f05a001fbd25e852ffca819346d07a70e1d0dd3.zip
fix another toString
Diffstat (limited to 'frontend')
-rw-r--r--frontend/src/toaster.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/toaster.tsx b/frontend/src/toaster.tsx
index 54c0d7fb..bcf16f11 100644
--- a/frontend/src/toaster.tsx
+++ b/frontend/src/toaster.tsx
@@ -28,7 +28,7 @@ class Toaster extends Logger {
window.__TOASTER_INSTANCE?.deinit?.();
window.__TOASTER_INSTANCE = this;
- const ValveToastRenderer = findModuleExport((e) => e?.toString()?.includes(`controller:"notification",method:`));
+ const ValveToastRenderer = findModuleExport((e) => e?.toString?.()?.includes(`controller:"notification",method:`));
// TODO find a way to undo this if possible?
const patchedRenderer = injectFCTrampoline(ValveToastRenderer);
this.toastPatch = replacePatch(patchedRenderer, 'component', (args: any[]) => {