diff options
| author | AAGaming <aa@mail.catvibers.me> | 2022-12-31 22:52:37 -0500 |
|---|---|---|
| committer | AAGaming <aa@mail.catvibers.me> | 2022-12-31 22:52:37 -0500 |
| commit | 0fe3282828e73fc95d0cef4b855a54ec24aa8a9b (patch) | |
| tree | 36136dd59a5f6a46597ab42bfadcef933543531d /frontend/src/menu-hook.tsx | |
| parent | 335d38e12b9b1781fe7002cff4e676ea7a592ecc (diff) | |
| download | decky-loader-0fe3282828e73fc95d0cef4b855a54ec24aa8a9b.tar.gz decky-loader-0fe3282828e73fc95d0cef4b855a54ec24aa8a9b.zip | |
make that actually work lol
Diffstat (limited to 'frontend/src/menu-hook.tsx')
| -rw-r--r-- | frontend/src/menu-hook.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/menu-hook.tsx b/frontend/src/menu-hook.tsx index 347084e4..ad09bc38 100644 --- a/frontend/src/menu-hook.tsx +++ b/frontend/src/menu-hook.tsx @@ -131,7 +131,7 @@ class MenuHook extends Logger { itemList[index] = replaced; toReplace.delete(item?.props.route as string); } - if (item?.props?.route && itemPatches.has(item.props.route as string)) { + if (item?.props?.route && (itemPatches.has(item.props.route as string) || itemPatches.has('*'))) { toReplace.set(item?.props?.route as string, itemList[index]); itemPatches.get(item.props.route as string)?.forEach((patch) => { const oType = itemList[index].type; |
