diff options
| author | Mar0xy <marie@kaifa.ch> | 2023-11-04 21:52:12 +0100 |
|---|---|---|
| committer | Mar0xy <marie@kaifa.ch> | 2023-11-04 21:52:12 +0100 |
| commit | db29a5c2da3a8dcf630536b95337df398440d86e (patch) | |
| tree | 421faa6ae5c4a22a18105a7b1412af9ec06dbfa2 /packages/frontend/src/scripts/get-user-menu.ts | |
| parent | chore: replace icons on new menu (diff) | |
| parent | fix: icons being inconsistent and PG (#136) (diff) | |
| download | sharkey-db29a5c2da3a8dcf630536b95337df398440d86e.tar.gz sharkey-db29a5c2da3a8dcf630536b95337df398440d86e.tar.bz2 sharkey-db29a5c2da3a8dcf630536b95337df398440d86e.zip | |
merge: develop
Diffstat (limited to 'packages/frontend/src/scripts/get-user-menu.ts')
| -rw-r--r-- | packages/frontend/src/scripts/get-user-menu.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/frontend/src/scripts/get-user-menu.ts b/packages/frontend/src/scripts/get-user-menu.ts index 618bc21c2b..c8942314b2 100644 --- a/packages/frontend/src/scripts/get-user-menu.ts +++ b/packages/frontend/src/scripts/get-user-menu.ts @@ -170,7 +170,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router copyToClipboard(`${user.host ?? host}/@${user.username}.atom`); }, }, { - icon: 'ph-share-network ph-bold pg-lg', + icon: 'ph-share-network ph-bold ph-lg', text: i18n.ts.copyProfileUrl, action: () => { const canonical = user.host === null ? `@${user.username}` : `@${user.username}@${toUnicode(user.host)}`; @@ -191,7 +191,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router }, }, { type: 'parent', - icon: 'ph-list ph-bold pg-lg', + icon: 'ph-list ph-bold ph-lg', text: i18n.ts.addToList, children: async () => { const lists = await userListsCache.fetch(); @@ -224,7 +224,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router }, }, { type: 'parent', - icon: 'ph-flying-saucer ph-bold pg-lg', + icon: 'ph-flying-saucer ph-bold ph-lg', text: i18n.ts.addToAntenna, children: async () => { const antennas = await antennasCache.fetch(); @@ -255,7 +255,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router if (iAmModerator) { menu = menu.concat([{ type: 'parent', - icon: 'ph-seal-check ph-bold pg-lg', + icon: 'ph-seal-check ph-bold ph-lg', text: i18n.ts.roles, children: async () => { const roles = await rolesCache.fetch(); @@ -297,11 +297,11 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: Router // フォローしたとしても user.isFollowing はリアルタイム更新されないので不便なため //if (user.isFollowing) { menu = menu.concat([{ - icon: user.withReplies ? 'ph-envelope-open ph-bold pg-lg' : 'ph-envelope ph-bold pg-lg-off', + icon: user.withReplies ? 'ph-envelope-open ph-bold ph-lg' : 'ph-envelope ph-bold ph-lg-off', text: user.withReplies ? i18n.ts.hideRepliesToOthersInTimeline : i18n.ts.showRepliesToOthersInTimeline, action: toggleWithReplies, }, { - icon: user.notify === 'none' ? 'ph-bell ph-bold pg-lg' : 'ph-bell ph-bold pg-lg-off', + icon: user.notify === 'none' ? 'ph-bell ph-bold ph-lg' : 'ph-bell ph-bold ph-lg-off', text: user.notify === 'none' ? i18n.ts.notifyNotes : i18n.ts.unnotifyNotes, action: toggleNotify, }]); |