summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts/get-note-menu.ts
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2024-06-22 15:12:43 +0100
committerdakkar <dakkar@thenautilus.net>2024-06-22 15:53:36 +0100
commitfccfde8f2b31d7c587db0fcc9b2093a70e7f99b2 (patch)
tree1588a590f62f89b767f4ce7fbf031672606462af /packages/frontend/src/scripts/get-note-menu.ts
parentreplaced more ti-* (diff)
downloadsharkey-fccfde8f2b31d7c587db0fcc9b2093a70e7f99b2.tar.gz
sharkey-fccfde8f2b31d7c587db0fcc9b2093a70e7f99b2.tar.bz2
sharkey-fccfde8f2b31d7c587db0fcc9b2093a70e7f99b2.zip
replaced many more ti-*
Diffstat (limited to 'packages/frontend/src/scripts/get-note-menu.ts')
-rw-r--r--packages/frontend/src/scripts/get-note-menu.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts
index a252486b29..433ddb1ff4 100644
--- a/packages/frontend/src/scripts/get-note-menu.ts
+++ b/packages/frontend/src/scripts/get-note-menu.ts
@@ -317,7 +317,7 @@ export function getNoteMenu(props: {
menu = [
...(
props.currentClip?.userId === $i.id ? [{
- icon: 'ph-backspace ph-bold ph-lg',
+ icon: 'ti ti-backspace',
text: i18n.ts.unclip,
danger: true,
action: unclip,
@@ -347,13 +347,13 @@ export function getNoteMenu(props: {
action: share,
}] : []),
$i && $i.policies.canUseTranslator && instance.translatorAvailable ? {
- icon: 'ph-translate ph-bold ph-lg',
+ icon: 'ti ti-language-hiragana',
text: i18n.ts.translate,
action: translate,
} : undefined,
{ type: 'divider' },
statePromise.then(state => state.isFavorited ? {
- icon: 'ph-star-half ph-bold ph-lg',
+ icon: 'ti ti-star-off',
text: i18n.ts.unfavorite,
action: () => toggleFavorite(false),
} : {
@@ -368,16 +368,16 @@ export function getNoteMenu(props: {
children: () => getNoteClipMenu(props),
},
statePromise.then(state => state.isMutedThread ? {
- icon: 'ph-bell-slash ph-bold ph-lg',
+ icon: 'ti ti-message-off',
text: i18n.ts.unmuteThread,
action: () => toggleThreadMute(false),
} : {
- icon: 'ph-bell-slash ph-bold ph-lg',
+ icon: 'ti ti-message-off',
text: i18n.ts.muteThread,
action: () => toggleThreadMute(true),
}),
appearNote.userId === $i.id ? ($i.pinnedNoteIds ?? []).includes(appearNote.id) ? {
- icon: 'ph-push-pin-slash ph-bold ph-lg',
+ icon: 'ti ti-pinned-off',
text: i18n.ts.unpin,
action: () => togglePin(false),
} : {
@@ -425,7 +425,7 @@ export function getNoteMenu(props: {
if (channel.pinnedNoteIds.includes(appearNote.id)) {
channelChildMenu.push({
- icon: 'ph-push-pin-slash ph-bold ph-lg',
+ icon: 'ti ti-pinned-off',
text: i18n.ts.unpin,
action: () => os.apiWithDialog('channels/update', {
channelId: appearNote.channel!.id,