From 4337a8b3081b2da6a8d143c4c2890ba0ef7ba1f9 Mon Sep 17 00:00:00 2001 From: dakkar Date: Fri, 12 Apr 2024 16:12:00 +0100 Subject: [PATCH] fix a bunch of ti icons also fix some mistyped `ph-push-pin-slash` Thanks Marie for noticing! --- .../frontend/src/components/MkMediaAudio.vue | 6 +++--- .../frontend/src/components/MkMediaImage.vue | 2 +- .../frontend/src/components/MkMediaVideo.vue | 12 ++++++------ packages/frontend/src/components/MkMenu.vue | 2 +- .../src/components/page/page.dynamic.vue | 2 +- packages/frontend/src/pages/page.vue | 8 ++++---- packages/frontend/src/pages/settings/2fa.vue | 2 +- packages/frontend/src/pages/settings/plugin.vue | 2 +- packages/frontend/src/scripts/get-note-menu.ts | 16 ++++++++-------- .../src/widgets/WidgetBirthdayFollowings.vue | 2 +- 10 files changed, 27 insertions(+), 27 deletions(-) diff --git a/packages/frontend/src/components/MkMediaAudio.vue b/packages/frontend/src/components/MkMediaAudio.vue index fce00e7f52..41425facc3 100644 --- a/packages/frontend/src/components/MkMediaAudio.vue +++ b/packages/frontend/src/components/MkMediaAudio.vue @@ -143,13 +143,13 @@ function showMenu(ev: MouseEvent) { { type: 'switch', text: i18n.ts._mediaControls.loop, - icon: 'ti ti-repeat', + icon: 'ph ph-repeat', ref: loop, }, { type: 'radio', text: i18n.ts._mediaControls.playbackRate, - icon: 'ti ti-clock-play', + icon: 'ph ph-gauge', ref: speed, options: { '0.25x': 0.25, @@ -188,7 +188,7 @@ function showMenu(ev: MouseEvent) { }, { type: 'link' as const, text: i18n.ts._fileViewer.title, - icon: 'ti ti-info-circle', + icon: 'ph ph-info', to: `/my/drive/file/${props.audio.id}`, }); } diff --git a/packages/frontend/src/components/MkMediaImage.vue b/packages/frontend/src/components/MkMediaImage.vue index af9d7d824c..f1fb4f5b44 100644 --- a/packages/frontend/src/components/MkMediaImage.vue +++ b/packages/frontend/src/components/MkMediaImage.vue @@ -120,7 +120,7 @@ function showMenu(ev: MouseEvent) { }, { type: 'link' as const, text: i18n.ts._fileViewer.title, - icon: 'ti ti-info-circle', + icon: 'ph ph-info', to: `/my/drive/file/${props.image.id}`, }] : [])], ev.currentTarget ?? ev.target); } diff --git a/packages/frontend/src/components/MkMediaVideo.vue b/packages/frontend/src/components/MkMediaVideo.vue index f35a404320..dbf76bc33d 100644 --- a/packages/frontend/src/components/MkMediaVideo.vue +++ b/packages/frontend/src/components/MkMediaVideo.vue @@ -39,10 +39,10 @@ SPDX-License-Identifier: AGPL-3.0-only > - +
ALT
-
+
@@ -177,13 +177,13 @@ function showMenu(ev: MouseEvent) { { type: 'switch', text: i18n.ts._mediaControls.loop, - icon: 'ti ti-repeat', + icon: 'ph ph-repeat', ref: loop, }, { type: 'radio', text: i18n.ts._mediaControls.playbackRate, - icon: 'ti ti-clock-play', + icon: 'ph ph-gauge', ref: speed, options: { '0.25x': 0.25, @@ -197,7 +197,7 @@ function showMenu(ev: MouseEvent) { }, ...(document.pictureInPictureEnabled ? [{ text: i18n.ts._mediaControls.pip, - icon: 'ti ti-picture-in-picture', + icon: 'ph ph-picture-in-picture', action: togglePictureInPicture, }] : []), { @@ -227,7 +227,7 @@ function showMenu(ev: MouseEvent) { }, { type: 'link' as const, text: i18n.ts._fileViewer.title, - icon: 'ti ti-info-circle', + icon: 'ph ph-info', to: `/my/drive/file/${props.video.id}`, }); } diff --git a/packages/frontend/src/components/MkMenu.vue b/packages/frontend/src/components/MkMenu.vue index 526631b0e4..6ced2fecc2 100644 --- a/packages/frontend/src/components/MkMenu.vue +++ b/packages/frontend/src/components/MkMenu.vue @@ -53,7 +53,7 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ item.text }} - +