summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts/get-note-menu.ts
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2024-05-11 13:05:35 +0100
committerdakkar <dakkar@thenautilus.net>2024-05-11 13:05:35 +0100
commitaf801bd9d204a29bc7e37dc2b94b01f0ea821f23 (patch)
tree734ba8379a5bc210b4790e581d36085658951742 /packages/frontend/src/scripts/get-note-menu.ts
parentMerge branch 'future-2024-03-23' into future-2024-04-25-post (diff)
parentfix a bunch of ti icons (diff)
downloadsharkey-af801bd9d204a29bc7e37dc2b94b01f0ea821f23.tar.gz
sharkey-af801bd9d204a29bc7e37dc2b94b01f0ea821f23.tar.bz2
sharkey-af801bd9d204a29bc7e37dc2b94b01f0ea821f23.zip
Merge branch 'future-2024-04-10' into future-2024-04-25-post
Diffstat (limited to 'packages/frontend/src/scripts/get-note-menu.ts')
-rw-r--r--packages/frontend/src/scripts/get-note-menu.ts16
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts
index bbe1a52f8f..4d8b54eac5 100644
--- a/packages/frontend/src/scripts/get-note-menu.ts
+++ b/packages/frontend/src/scripts/get-note-menu.ts
@@ -377,7 +377,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),
} : {
@@ -416,7 +416,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[];
@@ -425,7 +425,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,
@@ -434,7 +434,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,
@@ -557,7 +557,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) {
@@ -578,7 +578,7 @@ export function getRenoteMenu(props: {
},
}, {
text: i18n.ts.inChannelQuote,
- icon: 'ti ti-quote',
+ icon: 'ph ph-quotes',
action: () => {
if (!props.mock) {
os.post({
@@ -593,7 +593,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) {
@@ -624,7 +624,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,