mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-16 18:40:32 +03:00
add * option for route in itempatches
This commit is contained in:
@@ -137,7 +137,14 @@ class MenuHook extends Logger {
|
||||
const oType = itemList[index].type;
|
||||
itemList[index] = patch({
|
||||
...cloneElement(itemList[index]),
|
||||
type: (props) => createElement(oType, props),
|
||||
type: (props: any) => createElement(oType, props),
|
||||
});
|
||||
});
|
||||
itemPatches.get('*')?.forEach((patch) => {
|
||||
const oType = itemList[index].type;
|
||||
itemList[index] = patch({
|
||||
...cloneElement(itemList[index]),
|
||||
type: (props: any) => createElement(oType, props),
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user