chore: replace icons on new menu

This commit is contained in:
Mar0xy 2023-11-04 14:51:43 +01:00
parent 2eebf3e33f
commit 83c64377fc
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828

View file

@ -80,14 +80,14 @@ function onClick(ev: MouseEvent) {
text: `:${props.name}:`, text: `:${props.name}:`,
}, { }, {
text: i18n.ts.copy, text: i18n.ts.copy,
icon: 'ti ti-copy', icon: 'ph-copy ph-bold ph-lg',
action: () => { action: () => {
copyToClipboard(`:${props.name}:`); copyToClipboard(`:${props.name}:`);
os.success(); os.success();
}, },
}, ...(props.menuReaction && react ? [{ }, ...(props.menuReaction && react ? [{
text: i18n.ts.doReaction, text: i18n.ts.doReaction,
icon: 'ti ti-plus', icon: 'ph-plus ph-bold ph-lg',
action: () => { action: () => {
react(`:${props.name}:`); react(`:${props.name}:`);
}, },