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
committerParty Wumpus <48649272+PartyWumpus@users.noreply.github.com>2024-02-20 21:40:01 +0000
commit992e2e2ad3287243f5444f906f1cc7f55065cf5f (patch)
treeb7e1dc01bcf261b938e4d32f6d9485ca4d3bf5e6 /frontend/src
parentc2ebc78836cafc96f03546e6dba5acfa86795d65 (diff)
downloaddecky-loader-992e2e2ad3287243f5444f906f1cc7f55065cf5f.tar.gz
decky-loader-992e2e2ad3287243f5444f906f1cc7f55065cf5f.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`);