mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-17 16:57:50 +00:00
fix another toString
This commit is contained in:
@@ -28,7 +28,7 @@ class Toaster extends Logger {
|
|||||||
window.__TOASTER_INSTANCE?.deinit?.();
|
window.__TOASTER_INSTANCE?.deinit?.();
|
||||||
window.__TOASTER_INSTANCE = this;
|
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?
|
// TODO find a way to undo this if possible?
|
||||||
const patchedRenderer = injectFCTrampoline(ValveToastRenderer);
|
const patchedRenderer = injectFCTrampoline(ValveToastRenderer);
|
||||||
this.toastPatch = replacePatch(patchedRenderer, 'component', (args: any[]) => {
|
this.toastPatch = replacePatch(patchedRenderer, 'component', (args: any[]) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user