summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts/get-note-menu.ts
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2024-06-22 13:34:55 +0100
committerdakkar <dakkar@thenautilus.net>2024-06-22 15:53:32 +0100
commitdf26b6501d2bcd5bb7f27fc69d9aae4bdd5d0658 (patch)
treeca9f220f8262a2716424d4a68e67b04c8d668d4e /packages/frontend/src/scripts/get-note-menu.ts
parentreplaced ti-arrow-back-up ti-quote ti-send (diff)
downloadsharkey-df26b6501d2bcd5bb7f27fc69d9aae4bdd5d0658.tar.gz
sharkey-df26b6501d2bcd5bb7f27fc69d9aae4bdd5d0658.tar.bz2
sharkey-df26b6501d2bcd5bb7f27fc69d9aae4bdd5d0658.zip
replaced a bunch of ti-*
Diffstat (limited to 'packages/frontend/src/scripts/get-note-menu.ts')
-rw-r--r--packages/frontend/src/scripts/get-note-menu.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts
index 23e40dad69..3851bde534 100644
--- a/packages/frontend/src/scripts/get-note-menu.ts
+++ b/packages/frontend/src/scripts/get-note-menu.ts
@@ -363,7 +363,7 @@ export function getNoteMenu(props: {
}),
{
type: 'parent' as const,
- icon: 'ph-paperclip ph-bold ph-lg',
+ icon: 'ti ti-paperclip',
text: i18n.ts.clip,
children: () => getNoteClipMenu(props),
},
@@ -387,7 +387,7 @@ export function getNoteMenu(props: {
} : undefined,
{
type: 'parent' as const,
- icon: 'ph-user ph-bold ph-lg',
+ icon: 'ti ti-user',
text: i18n.ts.user,
children: async () => {
const user = appearNote.userId === $i?.id ? $i : await misskeyApi('users/show', { userId: appearNote.userId });
@@ -400,7 +400,7 @@ export function getNoteMenu(props: {
...($i.isModerator || $i.isAdmin ? [
{ type: 'divider' },
{
- icon: 'ph-megaphone ph-bold ph-lg',
+ icon: 'ti ti-speakerphone',
text: i18n.ts.promote,
action: promote
}]
@@ -495,7 +495,7 @@ export function getNoteMenu(props: {
if (noteActions.length > 0) {
menu = menu.concat([{ type: "divider" }, ...noteActions.map(action => ({
- icon: 'ph-plug ph-bold ph-lg',
+ icon: 'ti ti-plug',
text: action.title,
action: () => {
action.handler(appearNote);
@@ -578,7 +578,7 @@ export function getRenoteMenu(props: {
},
}, {
text: i18n.ts.inChannelQuote,
- icon: 'ph ph-quotes',
+ icon: 'ti ti-quote',
action: () => {
if (!props.mock) {
os.post({
@@ -624,7 +624,7 @@ export function getRenoteMenu(props: {
},
}, (props.mock) ? undefined : {
text: i18n.ts.quote,
- icon: 'ph ph-quotes',
+ icon: 'ti ti-quote',
action: () => {
os.post({
renote: appearNote,