NeverPausePreviews: Fix StreamTile

This commit is contained in:
thororen1234 2025-10-21 12:27:08 -04:00
parent 8812e1ba84
commit 94299005ad
No known key found for this signature in database

View file

@ -35,22 +35,15 @@ export default definePlugin({
{
find: "streamerPaused()",
replacement: {
match: /return null![^}]+/,
replace: "return false"
match: /streamerPaused\(\)\{/,
replace: "$&return false;"
}
},
{
find: "emptyPreviewWrapper,children",
find: "StreamTile",
replacement: {
match: /paused:\i([^=])/,
replace: "paused:false$1"
}
},
{
find: "let{mainText:",
replacement: {
match: /let{[^;]+/,
replace: "return"
match: /\i\.\i\.isFocused\(\)/,
replace: "true"
}
}
],