summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authorMarco Rodolfi <marco.rodolfi@tuta.io>2024-01-25 17:21:11 +0100
committerGitHub <noreply@github.com>2024-01-25 17:21:11 +0100
commit3146ebf85f66357ad2f977cc3dcfb333e5c3ba8b (patch)
tree4b57758d7db6dad6b10ad647bad1801c0ade458a /frontend
parent9295e4b038a32cbfa49ac7fffa69a3768f786491 (diff)
downloaddecky-loader-3146ebf85f66357ad2f977cc3dcfb333e5c3ba8b.tar.gz
decky-loader-3146ebf85f66357ad2f977cc3dcfb333e5c3ba8b.zip
[Bugfix] Toaster changed name again (#581)
Add another name placeholder for getting the toaster out of the HTML tree. Thanks to @eXhumer for the fix.
Diffstat (limited to 'frontend')
-rw-r--r--frontend/src/toaster.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/toaster.tsx b/frontend/src/toaster.tsx
index 0db8889a..0e16bb81 100644
--- a/frontend/src/toaster.tsx
+++ b/frontend/src/toaster.tsx
@@ -56,7 +56,8 @@ class Toaster extends Logger {
if (
currentNode?.memoizedProps?.className?.startsWith?.('gamepadtoasts_GamepadToastPlaceholder') ||
currentNode?.memoizedProps?.className?.startsWith?.('toastmanager_ToastPlaceholder') ||
- currentNode?.memoizedProps?.className?.startsWith?.('toastmanager_ToastPopup')
+ currentNode?.memoizedProps?.className?.startsWith?.('toastmanager_ToastPopup') ||
+ currentNode?.memoizedProps?.className?.startsWith?.('gamepadtoasts_GamepadToastPopup')
) {
this.log(`Toaster root was found in ${iters} recursion cycles`);
return currentNode;