fix BetterGifPicker, Experiments
This commit is contained in:
parent
344f8c9f03
commit
2f07dc230a
2 changed files with 3 additions and 3 deletions
|
@ -15,8 +15,8 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: ".GIFPickerResultTypes.SEARCH",
|
find: ".GIFPickerResultTypes.SEARCH",
|
||||||
replacement: [{
|
replacement: [{
|
||||||
match: "this.state={resultType:null}",
|
match: /(?<="state",{resultType:)null/,
|
||||||
replace: 'this.state={resultType:"Favorites"}'
|
replace: '"Favorites"'
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -64,7 +64,7 @@ export default definePlugin({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
find: ".isStaff=()",
|
find: '"isStaff",',
|
||||||
predicate: () => settings.store.enableIsStaff,
|
predicate: () => settings.store.enableIsStaff,
|
||||||
replacement: [
|
replacement: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue