From 8830c94591449b188419dd8879e19c9de8d71980 Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 21 Jun 2024 15:08:38 +0100 Subject: [PATCH] replaced ti-eye --- packages/frontend/src/components/MkMediaAudio.vue | 2 +- packages/frontend/src/components/MkMediaVideo.vue | 2 +- packages/frontend/src/components/MkPostForm.vue | 2 +- packages/frontend/src/components/MkPostFormAttaches.vue | 2 +- packages/frontend/src/pages/channels.vue | 2 +- packages/frontend/src/pages/drive.file.info.vue | 2 +- packages/frontend/src/pages/flash/flash-edit.vue | 2 +- packages/frontend/src/pages/settings/emoji-picker.vue | 4 ++-- packages/frontend/src/pages/settings/theme.install.vue | 2 +- packages/frontend/src/pages/user/activity.vue | 2 +- packages/frontend/src/scripts/get-drive-file-menu.ts | 2 +- packages/frontend/src/scripts/get-user-menu.ts | 2 +- packages/frontend/vite.config.ts | 1 + 13 files changed, 14 insertions(+), 13 deletions(-) diff --git a/packages/frontend/src/components/MkMediaAudio.vue b/packages/frontend/src/components/MkMediaAudio.vue index f8851a28df..74123af670 100644 --- a/packages/frontend/src/components/MkMediaAudio.vue +++ b/packages/frontend/src/components/MkMediaAudio.vue @@ -176,7 +176,7 @@ function showMenu(ev: MouseEvent) { if (iAmModerator) { menu.push({ text: props.audio.isSensitive ? i18n.ts.unmarkAsSensitive : i18n.ts.markAsSensitive, - icon: props.audio.isSensitive ? 'ph-eye ph-bold ph-lg' : 'ph-eye-slash ph-bold ph-lg', + icon: props.audio.isSensitive ? 'ti ti-eye' : 'ph-eye-slash ph-bold ph-lg', danger: true, action: () => toggleSensitive(props.audio), }); diff --git a/packages/frontend/src/components/MkMediaVideo.vue b/packages/frontend/src/components/MkMediaVideo.vue index ab2948887d..0ae3593727 100644 --- a/packages/frontend/src/components/MkMediaVideo.vue +++ b/packages/frontend/src/components/MkMediaVideo.vue @@ -215,7 +215,7 @@ function showMenu(ev: MouseEvent) { if (iAmModerator) { menu.push({ text: props.video.isSensitive ? i18n.ts.unmarkAsSensitive : i18n.ts.markAsSensitive, - icon: props.video.isSensitive ? 'ph-eye ph-bold ph-lg' : 'ph-eye-slash ph-bold ph-lg', + icon: props.video.isSensitive ? 'ti ti-eye' : 'ph-eye-slash ph-bold ph-lg', danger: true, action: () => toggleSensitive(props.video), }); diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index ca27da70a2..6ea5dbb3d9 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -89,7 +89,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- +
diff --git a/packages/frontend/src/components/MkPostFormAttaches.vue b/packages/frontend/src/components/MkPostFormAttaches.vue index b3ecb60ade..a57c24735f 100644 --- a/packages/frontend/src/components/MkPostFormAttaches.vue +++ b/packages/frontend/src/components/MkPostFormAttaches.vue @@ -141,7 +141,7 @@ function showFileMenu(file: Misskey.entities.DriveFile, ev: MouseEvent): void { action: () => { rename(file); }, }, { text: file.isSensitive ? i18n.ts.unmarkAsSensitive : i18n.ts.markAsSensitive, - icon: file.isSensitive ? 'ph-eye-closed ph-bold ph-lg' : 'ph-eye ph-bold ph-lg', + icon: file.isSensitive ? 'ph-eye-closed ph-bold ph-lg' : 'ti ti-eye', action: () => { toggleSensitive(file); }, }, { text: i18n.ts.describeFile, diff --git a/packages/frontend/src/pages/channels.vue b/packages/frontend/src/pages/channels.vue index 01e5218821..ce659c35c5 100644 --- a/packages/frontend/src/pages/channels.vue +++ b/packages/frontend/src/pages/channels.vue @@ -145,7 +145,7 @@ const headerTabs = computed(() => [{ }, { key: 'following', title: i18n.ts._channel.following, - icon: 'ph-eye ph-bold ph-lg', + icon: 'ti ti-eye', }, { key: 'owned', title: i18n.ts._channel.owned, diff --git a/packages/frontend/src/pages/drive.file.info.vue b/packages/frontend/src/pages/drive.file.info.vue index f6fc930fdd..dc662d4be3 100644 --- a/packages/frontend/src/pages/drive.file.info.vue +++ b/packages/frontend/src/pages/drive.file.info.vue @@ -24,7 +24,7 @@ SPDX-License-Identifier: AGPL-3.0-only