mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-09 17:36:23 +00:00
silentTyping: fix showIcon toggle (#1898)
This commit is contained in:
parent
25dc25c707
commit
03523446c1
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ export default definePlugin({
|
|||
},
|
||||
{
|
||||
find: "ChannelTextAreaButtons",
|
||||
predicate: () => settings.store.showIcon,
|
||||
replacement: {
|
||||
match: /(\i)\.push.{1,30}disabled:(\i),.{1,20}\},"gift"\)\)/,
|
||||
replace: "$&,(()=>{try{$2||$1.push($self.chatBarIcon(arguments[0]))}catch{}})()",
|
||||
|
|
Loading…
Reference in a new issue