From 3d917a443081b63595187137f0174a530fe000b7 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sat, 22 Jun 2024 12:21:25 +0100 Subject: [PATCH] =?UTF-8?q?fix=20eye-closed=20=E2=86=92=20ti-eye-exclamati?= =?UTF-8?q?on?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit we use eye-slash for sensitive, only in a few places we used eye-closed and I think we shouldn't --- packages/frontend/src/components/MkMediaImage.vue | 6 +++--- packages/frontend/src/components/MkPostFormAttaches.vue | 4 ++-- packages/frontend/src/scripts/get-drive-file-menu.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/frontend/src/components/MkMediaImage.vue b/packages/frontend/src/components/MkMediaImage.vue index 07820af1c6..e55bb1effb 100644 --- a/packages/frontend/src/components/MkMediaImage.vue +++ b/packages/frontend/src/components/MkMediaImage.vue @@ -32,7 +32,7 @@ SPDX-License-Identifier: AGPL-3.0-only @@ -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' : 'ti ti-eye', + icon: file.isSensitive ? 'ti ti-eye-exclamation' : 'ti ti-eye', action: () => { toggleSensitive(file); }, }, { text: i18n.ts.describeFile, diff --git a/packages/frontend/src/scripts/get-drive-file-menu.ts b/packages/frontend/src/scripts/get-drive-file-menu.ts index 1ad015dd76..31164b1878 100644 --- a/packages/frontend/src/scripts/get-drive-file-menu.ts +++ b/packages/frontend/src/scripts/get-drive-file-menu.ts @@ -89,7 +89,7 @@ export function getDriveFileMenu(file: Misskey.entities.DriveFile, folder?: Miss action: () => rename(file), }, { text: file.isSensitive ? i18n.ts.unmarkAsSensitive : i18n.ts.markAsSensitive, - icon: file.isSensitive ? 'ti ti-eye' : 'ph-eye-closed ph-bold ph-lg', + icon: file.isSensitive ? 'ti ti-eye' : 'ti ti-eye-exclamation', action: () => toggleSensitive(file), }, { text: i18n.ts.describeFile,