mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 11:22:03 +00:00
[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.
This commit is contained in:
@@ -56,7 +56,8 @@ class Toaster extends Logger {
|
|||||||
if (
|
if (
|
||||||
currentNode?.memoizedProps?.className?.startsWith?.('gamepadtoasts_GamepadToastPlaceholder') ||
|
currentNode?.memoizedProps?.className?.startsWith?.('gamepadtoasts_GamepadToastPlaceholder') ||
|
||||||
currentNode?.memoizedProps?.className?.startsWith?.('toastmanager_ToastPlaceholder') ||
|
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`);
|
this.log(`Toaster root was found in ${iters} recursion cycles`);
|
||||||
return currentNode;
|
return currentNode;
|
||||||
|
|||||||
Reference in New Issue
Block a user