summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts/get-note-menu.ts
diff options
context:
space:
mode:
authorInsert5StarName <anime@shourai.de>2023-10-01 00:46:42 +0200
committerInsert5StarName <anime@shourai.de>2023-10-01 00:46:42 +0200
commitb50c1ef9a5553cd4c755686c3b6c37b231de5a20 (patch)
tree7620a4a5522f94d9bb2037981b62c73484d1d56f /packages/frontend/src/scripts/get-note-menu.ts
parentwork in progress icons (diff)
downloadsharkey-b50c1ef9a5553cd4c755686c3b6c37b231de5a20.tar.gz
sharkey-b50c1ef9a5553cd4c755686c3b6c37b231de5a20.tar.bz2
sharkey-b50c1ef9a5553cd4c755686c3b6c37b231de5a20.zip
upd: fix rest of icons
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 9922402de4..4889efe104 100644
--- a/packages/frontend/src/scripts/get-note-menu.ts
+++ b/packages/frontend/src/scripts/get-note-menu.ts
@@ -94,7 +94,7 @@ export async function getNoteClipMenu(props: {
export function getAbuseNoteMenu(note: misskey.entities.Note, text: string): MenuItem {
return {
- icon: 'ti ti-exclamation-circle',
+ icon: 'ph-warning-circle ph-bold ph-lg',
text,
action: (): void => {
const u = note.url ?? note.uri ?? `${url}/notes/${note.id}`;
@@ -267,7 +267,7 @@ export function getNoteMenu(props: {
menu = [
...(
props.currentClip?.userId === $i.id ? [{
- icon: 'ti ti-backspace',
+ icon: 'ph-backspace ph-bold ph-lg',
text: i18n.ts.unclip,
danger: true,
action: unclip,
@@ -294,7 +294,7 @@ export function getNoteMenu(props: {
action: share,
},
instance.translatorAvailable ? {
- icon: 'ti ti-language-hiragana',
+ icon: 'ph-translate ph-bold ph-lg',
text: i18n.ts.translate,
action: translate,
} : undefined,
@@ -315,11 +315,11 @@ export function getNoteMenu(props: {
children: () => getNoteClipMenu(props),
},
statePromise.then(state => state.isMutedThread ? {
- icon: 'ti ti-message-off',
+ icon: 'ph-bell-slash ph-bold ph-lg',
text: i18n.ts.unmuteThread,
action: () => toggleThreadMute(false),
} : {
- icon: 'ti ti-message-off',
+ icon: 'ph-bell-slash ph-bold ph-lg',
text: i18n.ts.muteThread,
action: () => toggleThreadMute(true),
}),
@@ -403,7 +403,7 @@ export function getNoteMenu(props: {
if (noteActions.length > 0) {
menu = menu.concat([null, ...noteActions.map(action => ({
- icon: 'ti ti-plug',
+ icon: 'ph-plug ph-bold ph-lg',
text: action.title,
action: () => {
action.handler(appearNote);