fix ignoreactivities
This commit is contained in:
parent
47625c54ca
commit
9bfc13365b
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ export default definePlugin({
|
|||
// let { ... nowPlaying: a = !1 ...
|
||||
// let { overlay: b ... } = Props ...
|
||||
// ToggleOverLayButton(), nowPlaying && ... RemoveGameButton()
|
||||
match: /\.gameNameLastPlayed.+?,\i\(\),(?<=nowPlaying:(\i)=!1,.+?overlay:\i,[^}]+?\}=(\i).+?)(?=\1&&)/,
|
||||
match: /\.Fragment,\{children:.+?,\i\(\),(?<=nowPlaying:(\i)=!1,.+?overlay:\i,[^}]+?\}=(\i).+?)(?=\1&&)/,
|
||||
replace: (m, nowPlaying, props) => `${m}$self.renderToggleGameActivityButton(${props},${nowPlaying}),`,
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue