fix BetterGifPicker, Experiments

main
AutumnVN 6 months ago committed by Nuckyz
parent 344f8c9f03
commit 2f07dc230a
No known key found for this signature in database
GPG Key ID: 440BF8296E1C4AD9

@ -15,8 +15,8 @@ export default definePlugin({
{
find: ".GIFPickerResultTypes.SEARCH",
replacement: [{
match: "this.state={resultType:null}",
replace: 'this.state={resultType:"Favorites"}'
match: /(?<="state",{resultType:)null/,
replace: '"Favorites"'
}]
}
]

@ -64,7 +64,7 @@ export default definePlugin({
}
},
{
find: ".isStaff=()",
find: '"isStaff",',
predicate: () => settings.store.enableIsStaff,
replacement: [
{

Loading…
Cancel
Save