replaced ti-link

This commit is contained in:
dakkar 2024-06-21 14:48:54 +01:00
parent 65605683c7
commit bc0fbca65e
13 changed files with 24 additions and 23 deletions

View file

@ -110,7 +110,7 @@ export function getDriveFileMenu(file: Misskey.entities.DriveFile, folder?: Miss
}),
}, {
text: i18n.ts.copyUrl,
icon: 'ph-link ph-bold ph-lg',
icon: 'ti ti-link',
action: () => copyUrl(file),
}, {
type: 'a',

View file

@ -146,7 +146,7 @@ export function getAbuseNoteMenu(note: Misskey.entities.Note, text: string): Men
export function getCopyNoteLinkMenu(note: Misskey.entities.Note, text: string): MenuItem {
return {
icon: 'ph-link ph-bold ph-lg',
icon: 'ti ti-link',
text,
action: (): void => {
copyToClipboard(`${url}/notes/${note.id}`);

View file

@ -101,7 +101,7 @@ function select(src: any, label: string | null, multiple: boolean): Promise<Miss
action: () => chooseFileFromDrive(multiple).then(files => res(files)),
}, {
text: i18n.ts.fromUrl,
icon: 'ph-link ph-bold ph-lg',
icon: 'ti ti-link',
action: () => chooseFileFromUrl().then(file => res([file])),
}], src);
});