summaryrefslogtreecommitdiff
path: root/frontend/src
diff options
context:
space:
mode:
authorParty Wumpus <48649272+PartyWumpus@users.noreply.github.com>2024-02-15 12:09:21 +0000
committerGitHub <noreply@github.com>2024-02-15 12:09:21 +0000
commitecf480059bcbc0ed8766e089ea33e48c3b1bfbf7 (patch)
tree9ad7da015d9ae9a99d73b22b24372c3d05d2ff6c /frontend/src
parent7d6b8805dfc3b38515bf9752d85bce8f2c992179 (diff)
downloaddecky-loader-ecf480059bcbc0ed8766e089ea33e48c3b1bfbf7.tar.gz
decky-loader-ecf480059bcbc0ed8766e089ea33e48c3b1bfbf7.zip
fix finding qam root node for feb 14th beta
Diffstat (limited to 'frontend/src')
-rw-r--r--frontend/src/tabs-hook.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/tabs-hook.tsx b/frontend/src/tabs-hook.tsx
index 56ff8f10..c6d889cb 100644
--- a/frontend/src/tabs-hook.tsx
+++ b/frontend/src/tabs-hook.tsx
@@ -40,7 +40,8 @@ class TabsHook extends Logger {
return null;
}
if (
- typeof currentNode?.memoizedProps?.visible == 'boolean' &&
+ (typeof currentNode?.memoizedProps?.visible == 'boolean' ||
+ typeof currentNode?.memoizedProps?.active == 'boolean') &&
currentNode?.type?.toString()?.includes('QuickAccessMenuBrowserView')
) {
this.log(`QAM root was found in ${iters} recursion cycles`);