summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2024-04-12 16:12:00 +0100
committerdakkar <dakkar@thenautilus.net>2024-04-12 16:12:00 +0100
commit4337a8b3081b2da6a8d143c4c2890ba0ef7ba1f9 (patch)
tree2439c0a3224656756bb29b4193afad128d69259c /packages/frontend/src/scripts
parentfix backend tests (diff)
downloadsharkey-4337a8b3081b2da6a8d143c4c2890ba0ef7ba1f9.tar.gz
sharkey-4337a8b3081b2da6a8d143c4c2890ba0ef7ba1f9.tar.bz2
sharkey-4337a8b3081b2da6a8d143c4c2890ba0ef7ba1f9.zip
fix a bunch of ti icons
also fix some mistyped `ph-push-pin-slash` Thanks Marie for noticing!
Diffstat (limited to 'packages/frontend/src/scripts')
-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 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,