summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2024-06-22 14:36:39 +0100
committerdakkar <dakkar@thenautilus.net>2024-06-22 15:53:36 +0100
commitf2c56f395e73a7498d777e83e9c2dbc36ff05813 (patch)
tree031b602b713998156660853e0000ad45a235060f /packages/frontend/src/scripts
parentreplaced ti-apps and a few more (diff)
downloadsharkey-f2c56f395e73a7498d777e83e9c2dbc36ff05813.tar.gz
sharkey-f2c56f395e73a7498d777e83e9c2dbc36ff05813.tar.bz2
sharkey-f2c56f395e73a7498d777e83e9c2dbc36ff05813.zip
replaced more ti-*
Diffstat (limited to 'packages/frontend/src/scripts')
-rw-r--r--packages/frontend/src/scripts/get-note-menu.ts4
-rw-r--r--packages/frontend/src/scripts/get-user-menu.ts10
2 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 3851bde534..a252486b29 100644
--- a/packages/frontend/src/scripts/get-note-menu.ts
+++ b/packages/frontend/src/scripts/get-note-menu.ts
@@ -342,7 +342,7 @@ export function getNoteMenu(props: {
},
} : undefined,
...(isSupportShare() ? [{
- icon: 'ph-share-network ph-bold ph-lg',
+ icon: 'ti ti-share',
text: i18n.ts.share,
action: share,
}] : []),
@@ -456,7 +456,7 @@ export function getNoteMenu(props: {
action: edit,
} : undefined,
{
- icon: 'ph-pencil-simple-line ph-bold ph-lg',
+ icon: 'ti ti-edit',
text: i18n.ts.deleteAndEdit,
danger: true,
action: delEdit,
diff --git a/packages/frontend/src/scripts/get-user-menu.ts b/packages/frontend/src/scripts/get-user-menu.ts
index 560ebf0cca..3e031d232f 100644
--- a/packages/frontend/src/scripts/get-user-menu.ts
+++ b/packages/frontend/src/scripts/get-user-menu.ts
@@ -165,20 +165,20 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: IRouter
router.push(`/admin/user/${user.id}`);
},
}] : []), {
- icon: 'ph-rss ph-bold ph-lg',
+ icon: 'ti ti-rss',
text: i18n.ts.copyRSS,
action: () => {
copyToClipboard(`${user.host ?? host}/@${user.username}.atom`);
},
}, ...(user.host != null && user.url != null ? [{
- icon: 'ph-share ph-bold ph-lg',
+ icon: 'ti ti-external-link',
text: i18n.ts.showOnRemote,
action: () => {
if (user.url == null) return;
window.open(user.url, '_blank', 'noopener');
},
}] : []), {
- icon: 'ph-share-network ph-bold ph-lg',
+ icon: 'ti ti-share',
text: i18n.ts.copyProfileUrl,
action: () => {
const canonical = user.host === null ? `@${user.username}` : `@${user.username}@${toUnicode(user.host)}`;
@@ -305,7 +305,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: IRouter
// フォローしたとしても user.isFollowing はリアルタイム更新されないので不便なため
//if (user.isFollowing) {
menu = menu.concat([{
- icon: user.withReplies ? 'ph-envelope-open ph-bold ph-lg' : 'ph-envelope ph-bold ph-lg-off',
+ icon: user.withReplies ? 'ti ti-messages-off' : 'ti ti-messages',
text: user.withReplies ? i18n.ts.hideRepliesToOthersInTimeline : i18n.ts.showRepliesToOthersInTimeline,
action: toggleWithReplies,
}, {
@@ -331,7 +331,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: IRouter
if (user.isFollowed) {
menu = menu.concat([{
- icon: 'ph-link ph-bold ph-lg-off',
+ icon: 'ti ti-link-off',
text: i18n.ts.breakFollow,
action: invalidateFollow,
}]);