fix finding qam root node for feb 14th beta

This commit is contained in:
Party Wumpus
2024-02-15 12:09:21 +00:00
parent c2ebc78836
commit 992e2e2ad3
+2 -1
View File
@@ -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`);