|
|
|
@ -29,10 +29,10 @@ export default definePlugin({
|
|
|
|
|
authors: [Devs.Ven],
|
|
|
|
|
|
|
|
|
|
patches: [{
|
|
|
|
|
find: ".handleSelectGIF=",
|
|
|
|
|
find: '"handleSelectGIF",',
|
|
|
|
|
replacement: {
|
|
|
|
|
match: /\.handleSelectGIF=(\i)=>\{/,
|
|
|
|
|
replace: ".handleSelectGIF=$1=>{if (!this.props.className) return $self.handleSelect($1);"
|
|
|
|
|
match: /"handleSelectGIF",(\i)=>\{/,
|
|
|
|
|
replace: '"handleSelectGIF",$1=>{if (!this.props.className) return $self.handleSelect($1);'
|
|
|
|
|
}
|
|
|
|
|
}],
|
|
|
|
|
|
|
|
|
|