silentTyping: fix showIcon toggle (#1898)
This commit is contained in:
parent
25dc25c707
commit
03523446c1
@ -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…
x
Reference in New Issue
Block a user