mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-17 08:47:49 +00:00
make that actually work lol
This commit is contained in:
@@ -131,7 +131,7 @@ class MenuHook extends Logger {
|
|||||||
itemList[index] = replaced;
|
itemList[index] = replaced;
|
||||||
toReplace.delete(item?.props.route as string);
|
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]);
|
toReplace.set(item?.props?.route as string, itemList[index]);
|
||||||
itemPatches.get(item.props.route as string)?.forEach((patch) => {
|
itemPatches.get(item.props.route as string)?.forEach((patch) => {
|
||||||
const oType = itemList[index].type;
|
const oType = itemList[index].type;
|
||||||
|
|||||||
Reference in New Issue
Block a user