replaced ti-id

This commit is contained in:
dakkar 2024-06-21 17:17:26 +01:00
parent dfc5cbd5d7
commit e84844b4ae
5 changed files with 5 additions and 4 deletions

View File

@ -274,7 +274,7 @@ function onContextmenu(ev: MouseEvent) {
}]; }];
if (defaultStore.state.devMode) { if (defaultStore.state.devMode) {
menu = menu.concat([{ type: 'divider' }, { menu = menu.concat([{ type: 'divider' }, {
icon: 'ph-identification-card ph-bold ph-lg', icon: 'ti ti-id',
text: i18n.ts.copyFolderId, text: i18n.ts.copyFolderId,
action: () => { action: () => {
copyToClipboard(props.folder.id); copyToClipboard(props.folder.id);

View File

@ -128,7 +128,7 @@ export function getDriveFileMenu(file: Misskey.entities.DriveFile, folder?: Miss
if (defaultStore.state.devMode) { if (defaultStore.state.devMode) {
menu = menu.concat([{ type: 'divider' }, { menu = menu.concat([{ type: 'divider' }, {
icon: 'ph-identification-card ph-bold ph-lg', icon: 'ti ti-id',
text: i18n.ts.copyFileId, text: i18n.ts.copyFileId,
action: () => { action: () => {
copyToClipboard(file.id); copyToClipboard(file.id);

View File

@ -505,7 +505,7 @@ export function getNoteMenu(props: {
if (defaultStore.state.devMode) { if (defaultStore.state.devMode) {
menu = menu.concat([{ type: "divider" }, { menu = menu.concat([{ type: "divider" }, {
icon: 'ph-identification-card ph-bold ph-lg', icon: 'ti ti-id',
text: i18n.ts.copyNoteId, text: i18n.ts.copyNoteId,
action: () => { action: () => {
copyToClipboard(appearNote.id); copyToClipboard(appearNote.id);

View File

@ -354,7 +354,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: IRouter
if (defaultStore.state.devMode) { if (defaultStore.state.devMode) {
menu = menu.concat([{ type: 'divider' }, { menu = menu.concat([{ type: 'divider' }, {
icon: 'ph-identification-card ph-bold ph-lg', icon: 'ti ti-id',
text: i18n.ts.copyUserId, text: i18n.ts.copyUserId,
action: () => { action: () => {
copyToClipboard(user.id); copyToClipboard(user.id);

View File

@ -181,6 +181,7 @@ export function getConfig(): UserConfig {
'ti ti-app-window': 'ph-app-window ph-bold ph-lg', 'ti ti-app-window': 'ph-app-window ph-bold ph-lg',
'ti ti-forms': 'ph-textbox ph-bold ph-lg', 'ti ti-forms': 'ph-textbox ph-bold ph-lg',
'ti ti-trash': 'ph-trash ph-bold ph-lg', 'ti ti-trash': 'ph-trash ph-bold ph-lg',
'ti ti-id': 'ph-identification-card ph-bold ph-lg',
}, },
}), }),
...process.env.NODE_ENV === 'production' ...process.env.NODE_ENV === 'production'