From 4337a8b3081b2da6a8d143c4c2890ba0ef7ba1f9 Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 12 Apr 2024 16:12:00 +0100 Subject: fix a bunch of ti icons also fix some mistyped `ph-push-pin-slash` Thanks Marie for noticing! --- packages/frontend/src/scripts/get-note-menu.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'packages/frontend/src/scripts') diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts index 40359a88bb..b988510238 100644 --- a/packages/frontend/src/scripts/get-note-menu.ts +++ b/packages/frontend/src/scripts/get-note-menu.ts @@ -347,7 +347,7 @@ export function getNoteMenu(props: { action: () => toggleThreadMute(true), }), appearNote.userId === $i.id ? ($i.pinnedNoteIds ?? []).includes(appearNote.id) ? { - icon: 'ph-push-pin ph-bold ph-lgned-off', + icon: 'ph-push-pin-slash ph-bold ph-lg', text: i18n.ts.unpin, action: () => togglePin(false), } : { @@ -386,7 +386,7 @@ export function getNoteMenu(props: { { type: 'divider' }, { type: 'parent' as const, - icon: 'ti ti-device-tv', + icon: 'ph-television ph-bold ph-lg', text: i18n.ts.channel, children: async () => { const channelChildMenu = [] as MenuItem[]; @@ -395,7 +395,7 @@ export function getNoteMenu(props: { if (channel.pinnedNoteIds.includes(appearNote.id)) { channelChildMenu.push({ - icon: 'ti ti-pinned-off', + icon: 'ph-push-pin-slash ph-bold ph-lg', text: i18n.ts.unpin, action: () => os.apiWithDialog('channels/update', { channelId: appearNote.channel!.id, @@ -404,7 +404,7 @@ export function getNoteMenu(props: { }); } else { channelChildMenu.push({ - icon: 'ti ti-pin', + icon: 'ph-push-pin ph-bold ph-lg', text: i18n.ts.pin, action: () => os.apiWithDialog('channels/update', { channelId: appearNote.channel!.id, @@ -527,7 +527,7 @@ export function getRenoteMenu(props: { if (appearNote.channel) { channelRenoteItems.push(...[{ text: i18n.ts.inChannelRenote, - icon: 'ti ti-repeat', + icon: 'ph ph-repeat', action: () => { const el = props.renoteButton.value; if (el) { @@ -548,7 +548,7 @@ export function getRenoteMenu(props: { }, }, { text: i18n.ts.inChannelQuote, - icon: 'ti ti-quote', + icon: 'ph ph-quotes', action: () => { if (!props.mock) { os.post({ @@ -563,7 +563,7 @@ export function getRenoteMenu(props: { if (!appearNote.channel || appearNote.channel.allowRenoteToExternal) { normalRenoteItems.push(...[{ text: i18n.ts.renote, - icon: 'ti ti-repeat', + icon: 'ph ph-repeat', action: () => { const el = props.renoteButton.value; if (el) { @@ -594,7 +594,7 @@ export function getRenoteMenu(props: { }, }, (props.mock) ? undefined : { text: i18n.ts.quote, - icon: 'ti ti-quote', + icon: 'ph ph-quotes', action: () => { os.post({ renote: appearNote, -- cgit v1.2.3-freya