diff options
| author | dakkar <dakkar@thenautilus.net> | 2024-06-21 14:48:54 +0100 |
|---|---|---|
| committer | dakkar <dakkar@thenautilus.net> | 2024-06-22 15:53:12 +0100 |
| commit | bc0fbca65e73c675395d3887ab31db44a90627f8 (patch) | |
| tree | c708aa5e350b184f35d1d36137409baa894e8d95 /packages/frontend/src/scripts | |
| parent | replaced ti-settings (diff) | |
| download | sharkey-bc0fbca65e73c675395d3887ab31db44a90627f8.tar.gz sharkey-bc0fbca65e73c675395d3887ab31db44a90627f8.tar.bz2 sharkey-bc0fbca65e73c675395d3887ab31db44a90627f8.zip | |
replaced ti-link
Diffstat (limited to 'packages/frontend/src/scripts')
| -rw-r--r-- | packages/frontend/src/scripts/get-drive-file-menu.ts | 2 | ||||
| -rw-r--r-- | packages/frontend/src/scripts/get-note-menu.ts | 2 | ||||
| -rw-r--r-- | packages/frontend/src/scripts/select-file.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/packages/frontend/src/scripts/get-drive-file-menu.ts b/packages/frontend/src/scripts/get-drive-file-menu.ts index 3a586a1fe0..040505c5e1 100644 --- a/packages/frontend/src/scripts/get-drive-file-menu.ts +++ b/packages/frontend/src/scripts/get-drive-file-menu.ts @@ -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', diff --git a/packages/frontend/src/scripts/get-note-menu.ts b/packages/frontend/src/scripts/get-note-menu.ts index c3fa623b00..c45c2096c2 100644 --- a/packages/frontend/src/scripts/get-note-menu.ts +++ b/packages/frontend/src/scripts/get-note-menu.ts @@ -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}`); diff --git a/packages/frontend/src/scripts/select-file.ts b/packages/frontend/src/scripts/select-file.ts index fd7cfc697b..72b2310cb1 100644 --- a/packages/frontend/src/scripts/select-file.ts +++ b/packages/frontend/src/scripts/select-file.ts @@ -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); }); |