@ -15,8 +15,8 @@ export default definePlugin({
{
find: ".GIFPickerResultTypes.SEARCH",
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,
replacement: [